Kleinere Fehlerkorrekturen
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user