mysql_query("UPDATE stat(total) SET total = total + 1 WHERE id = '2'");
выдает следующую ошибку:
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 '(total) SET total = total + 1 WHERE id = '2'' at line 1
Хотя синтаксис насчет total = total + 1 я вычитал в мануале.
Не понимаю, в чем моя ошибка.