Arkadaşlar kodum burda;

<?php require_once('Connections/baglanti.php'); ?>

<?php


// ** Logout the current user. **
$logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
  $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
  //to fully log out a visitor we need to clear the session varialbles
  $_SESSION['MM_Username'] = NULL;
  $_SESSION['MM_UserGroup'] = NULL;
  $_SESSION['PrevUrl'] = NULL;
  unset($_SESSION['MM_Username']);
  unset($_SESSION['MM_UserGroup']);
  unset($_SESSION['PrevUrl']);
	
  $logoutGoTo = "index.php";
  if ($logoutGoTo) {
    header("Location: $logoutGoTo");
    exit;
  }
}



?>

<?php

$ogrencitc_1453 = $_SESSION["ogrencitc"];
$ogrenci = mysql_query('SELECT * from ogrenciler WHERE ogrencitc="'.$ogrencitc_1453.'" ');
$ogrenci = mysql_fetch_array($ogrenci);

$sinavlar	= mysql_query('
				SELECT * FROM ogrenciler AS o 
				INNER JOIN sonuc AS s ON o.`ogrenciid`=s.`ogrenciid` 
				INNER JOIN denemesinavi  AS d ON d.`denemeid`=s.`denemeid` 
				WHERE o.ogrencitc="'.$ogrencitc_1453.'" 
		');

?>
Hata veren satır ;

$ogrencitc_1453 = $_SESSION["ogrencitc"];
Daha önce sorunsuz çalışıyordu bi anda böyle bir hata almaya başladım. Bundan dolayı öğrenci verileri sayfaya yazmıyor. Yardımcı olursanız sevinirim.