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 '...' at line 2
What is the debugging code that allows me to output the errors?
inulled;10989189 wrote:What is the debugging code that allows me to output the errors?
Whatever code it is you used to get that error message.
Isn't there one that displays more info though?
Not that I've ever seen, no. What more do you need, though? You've got the full SQL query, and the error message will tell you which part of the query that MySQL didn't understand.