Kleinere Fehlerkorrekturen

This commit is contained in:
aschwarz
2023-04-24 08:08:25 +02:00
parent 9119f75eac
commit 5e9c9cf19d
5 changed files with 27 additions and 27 deletions

View File

@ -141,7 +141,7 @@ $db = dbconnect();
$sel_pros = $db->query("SELECT bezeichnung FROM pros_proseminar where id=\"". $_POST['ausw_ausg']."\"");
$pros = $sel_pros->fetch_array();
setcookie ("ck_prosid", $_POST[ausw_ausg]); //ausgewählte Pros.ID wird in Cookie gespeichert
setcookie ("ck_prosid", $_POST['ausw_ausg']); //ausgewählte Pros.ID wird in Cookie gespeichert
echo "
@ -217,9 +217,9 @@ echo "
$result1 = $db->query("SELECT * FROM pros_ergebnis where uid=\"$row[uid]\"");
$row1 = $result1->fetch_array();
if($row1[Note] != ''){
$vorkomma = substr($row1[Note], 0,1);
$nachkomma = substr($row1[Note], 2,1);
if($row1['Note'] != ''){
$vorkomma = substr($row1['Note'], 0,1);
$nachkomma = substr($row1['Note'], 2,1);
}else{
$vorkomma = "";
$nachkomma = "";
@ -493,7 +493,7 @@ echo"
}
*/
if ($vorhanden[uid] == ""){
if ($vorhanden['uid'] == ""){
$sql = $db->query ("INSERT INTO pros_ergebnis(
uid,