I have the below code running and cannot find what the error is. Can anyone suggest anything I should check?
$result = mysql_query("SELECT * FROM table") or die (mysql_error());
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 ‘table’ at line 1
tableis a reserved keyword, you must escape it with backtick.