Ik heb de volgende query:
Maar hij geeft de volgende error:

Is het misschien te lang? (te veel velden?) In dat geval, weet iemand hoe ik dit wel werkend kan krijgen?
PHP:
1
2
3
| // vul info in in db! $result = mysql_query("INSERT INTO reviews (system, game, inleiding, review, pluspunt1, pluspunt2, pluspunt3, pluspunt4, pluspunt5, minpunt1, minpunt2, minpunt3, minpunt4, minpunt5, spelinfo1, spelinfo2, spelinfo3, spelinfo4, spelinfo5, quote, conclusie, score1, score2, score3, score4, score5, datum, auteur, handtekening) VALUES ('$system', '$game', '$inleiding', '$review', '$pluspunt1', '$pluspunt2', '$pluspunt3', '$pluspunt4', '$pluspunt5', '$minpunt1', '$minpunt2', '$minpunt3', '$minpunt4', '$minpunt5', '$spelinfo1', '$spelinfo2', '$spelinfo3', '$spelinfo4', '$spelinfo5', '$quote', '$conclusie', '$score1', '$score2', '$score3', '$score4', '$score5', '$datum', '$auteur', '$handtekening')") or die (mysql_error()); echo "Posted!"; |
Maar hij geeft de volgende error:
Nou vraag ik me af wat er fout aan is na het 5x te hebben doorgelopenYou have an error in your SQL syntax near '' at line 1
Is het misschien te lang? (te veel velden?) In dat geval, weet iemand hoe ik dit wel werkend kan krijgen?