Jump to content

[SOLVED] Error: 1064 SQLSTATE: 42000 (ER_PARSE_ERROR)


brianmay

Recommended Posts

Hello guys, MySQL returns the following error:

 

MySQL said: Documentation
#1064 - 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 sid='x'' at line 1

 

Note: x is a variable, in this case was 6

 

The syntax I'm using is:

 

UPDATE ".$prefix."_specials SET stitle='$stitle', simg='$simg', sband='$sband', stxt='$stxt', WHERE sid='$sid'

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.