kleine constant Fehler geändert

This commit is contained in:
aschwarz
2023-03-01 16:54:22 +01:00
parent f03a2f1ec4
commit 7c25e6c4d2
5 changed files with 30 additions and 30 deletions

View File

@ -141,7 +141,7 @@ $abfrage = "SELECT stud.uid, Vorname, Nachname, AG, Jahrgang
AND stud.durchgefallen!='Y'
";
setcookie ("ck_ProsID", $_POST[ausw_ausg]);
setcookie ("ck_ProsID", $_POST['ausw_ausg']);
echo "
<html>
@ -201,18 +201,18 @@ echo "
</td>
<td width=\"10%\" align=\"center\" style=\"padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; border-left-style:solid; border-left-width:1\" height=\"21\">
<p style=\"margin-top: 4; margin-bottom: 4\" align=\"left\">";
if ($daten[Note] != 'NULL'){
if ($daten['Note'] != 'NULL'){
echo "$daten[Note]";}
echo"
</td>
<td width=\"15%\" align=\"center\" style=\"padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; border-left-style:solid; border-left-width:1\" height=\"21\">
<p style=\"margin-top: 4; margin-bottom: 4\" align=\"left\">";
if($daten[Note] >= "1,0" AND $daten[Note] <="1,5"){$notenwort="sehr gut";}
if($daten[Note] >= "1,6" AND $daten[Note] <="2,5"){$notenwort="gut";}
if($daten[Note] >= "2,6" AND $daten[Note] <="3,5"){$notenwort="befriedigend";}
if($daten[Note] >= "3,6" AND $daten[Note] <="4,0"){$notenwort="ausreichend";}
if($daten[Note] >= "4,1" AND $daten[Note] <="5,0"){$notenwort="nicht ausreichend";}
if($daten['Note'] >= "1,0" AND $daten['Note'] <="1,5"){$notenwort="sehr gut";}
if($daten['Note'] >= "1,6" AND $daten['Note'] <="2,5"){$notenwort="gut";}
if($daten['Note'] >= "2,6" AND $daten['Note'] <="3,5"){$notenwort="befriedigend";}
if($daten['Note'] >= "3,6" AND $daten['Note'] <="4,0"){$notenwort="ausreichend";}
if($daten['Note'] >= "4,1" AND $daten['Note'] <="5,0"){$notenwort="nicht ausreichend";}
echo"
$notenwort
@ -226,4 +226,4 @@ echo "
</html>";
} //Ende Action Abfrage
?>
?>