PHP not querying a specific table in mysql?!
I'm getting an error when I try to query a specific table:
"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 'order' at line 1"
My code has and does work perfectly on all of my other tables in the same database, which is why I'm so confused about it :confused:
This is the code that's throwing an error:
$dispatch = mysql_query("SELECT * FROM order")or die(mysql_error());
but it is worded exactly the same as my other tables.
I checked the storage engines of each of the tables in PHPmyadmin,
all are innoDB...
Just completely stuck here.. any help would be appreciated
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."