Copied from a Google search....
Quote:
Why do i get a query syntax error 1064 from MySQL when the syntax seems correct?
You will get a MySQL query syntax error number 1064 when you incorrectly use a reserved word in your query such as "when" or "order".
MySQL 4 has additional reserved words that you cannot use and the full list of them is at http://www.mysql.com/doc/en/Reserved_words.html.
|