sql - MySQL query error with a table named "order" -
I have this problem but I have just got the solution, so I will write it here if anyone stays in it. This is my mysql query:
mysql_query ("Choose ID from order order by id DESC LIMIT 1")
and I got the error
There is an error in your SQL syntax;
The order related to your messaging server version for the right syntax to use the order order 'ORDER ID DESC limit 1' on
Order The word is reserved You must use the command to join the back-tiex.
/ Strong>
Comments
Post a Comment