Jump to content

mysql error help


MDanz

Recommended Posts

$updateblock = mysql_query("UPDATE Stacks SET number='$number', SET username='$username', SET reply='$reply', SET posted='$posted', SET keywords='$keywords', SET avatar='$avatar', SET Positive='$pos', SET Negative='$neg' WHERE origin=$origin+1") or die (mysql_error());

 

i get this error

 

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 'SET username='Guest', SET reply='another test', SET posted='2010-06-02 13:33:48'' at line 1

Link to comment
https://forums.phpfreaks.com/topic/203668-mysql-error-help/
Share on other sites

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.