Cod: Selectaţi tot
mysql_query("INSERT INTO `chart` (`{$ora}`) VALUES ('{$jucatori}') WHERE id = '{$id}'") or die(mysql_error());
şi îmi dă eroarea:
Cod: Selectaţi tot
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 'WHERE id = '1'' at line 1
unde trebuie să aşez :
Cod: Selectaţi tot
WHERE id = '{$id}'
ca să meargă query-ul ?