diff --git a/fachprojekt/endgueltig.php b/fachprojekt/endgueltig.php index 2f63989..7069b14 100755 --- a/fachprojekt/endgueltig.php +++ b/fachprojekt/endgueltig.php @@ -16,7 +16,7 @@ $anm_schluss = $db->query("SELECT DATE_Format(fachprojekt_einsicht, '%Y-%m-%d')A $row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginndatums des vom Studenten gewählten Kurses $a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl -$b = strtotime ($row_schluss[datum]); // Umrechnung des Beginndatums in eine Zahl +$b = strtotime ($row_schluss['datum']); // Umrechnung des Beginndatums in eine Zahl if ($a < $b){ echo " @@ -87,7 +87,7 @@ exit; $psn_abg = $db->query("SELECT uid FROM fach_wunsch WHERE uid=\"$uid1\""); $abgegeben = $psn_abg->fetch_array(); -if ($abgegeben[uid] == ""){ +if ($abgegeben['uid'] == ""){ echo " @@ -291,4 +291,4 @@ while ($row2 = $result2->fetch_array()){ } } -?> \ No newline at end of file +?>