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:
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> mysql_query ("Choose ID from order order by id DESC LIMIT 1")
Comments
Post a Comment