ChrisB: Error 1064: You have an error in your SQL syntax;

Beitrag lesen

Hi,

Error 1064 : 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 'index = 2' at line 1

Ach so ja, jetzt klingelt's - index dürfte ein reserviertes Wort sein.
Spalte umbenennen, oder bei jeder Verwendung in Backticks setzen.

MfG ChrisB

--
Light travels faster than sound - that's why most people appear bright until you hear them speak.