I have a problem with my SQL Syntax.. All other SQL-Methods are correct in my files but a UPDATE-Method fails everytime. I can't find the mistake. Please help me.
$sql = mysql_query("UPDATE ".$dbName.".'settings' SET 'interval'=".$intervalValue." WHERE 'settingID'=0 ");
The error of my debug-method is:
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 ''settings' SET 'interval'=2800 WHERE 'settingID'=0' at line 1