I'm using PHP code to extract data from a MySQL database. One of the field names in the database uses the name 'order'. Unfortunately, I need to ORDER BY 'order'. I get SQL syntax errors if I try to SELECT or ORDER BY 'order'.
I can't rename the field. Is there a way to get MySQL to accept...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.