STRANGE SQL update error... Help Anyone RESOLVED |
[eluser]Unknown[/eluser]
Quote: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 = '', semetry = 'semetry', polish = 'polish', girdle = '', culet = '', flo' at line 1 I keep gitting the error can anyone tell me what maybe the cause here is the code Code: $pd = array(
[eluser]rogierb[/eluser]
'TABLE' is a reserved word, so you can't use it. See http://dev.mysql.com/doc/refman/5.0/en/r...words.html for more info on reserved words So change it to table_1 or something and it will work.
|
Welcome Guest, Not a member yet? Register Sign In |