//EDIT: hab’s schon^^ … das SET beim Update query fehlte
Hallo liebe bplaced-Community,
Ich bin grad dabei so ein Sitzplatzbuchungs-System zu coden, leider habe ich da ein kleines Problem mit einem Update-Query.
Problem tritt bei diesem SQL String auf:
Error-Message: Could not update data: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘= 17, bookd = ‘2012-01-01’ WHERE booking.seatid = ‘X3’’ at line 1
Ich versteh nicht, was hier falsch ist…
$user ist (wie der name schon hindeutet^^) die userid
$datum … das heutige Datum … date(“Y-m-d”)
$platz … ist ein array
Hier ist die Tabelle “booking”
Vielleicht könnt ihr mit weiterhelfen.
danke im voraus