Jump to content

[SOLVED] SQL Syntax Error


refiking

Recommended Posts

Oh. INSERT INTO adds a new row. You can't add a new row to a row that matches criteria. Are you trying to add a new row or change data in a current row? If you are adding a new row, just remove the where clause, otherwise you should be using UPDATE instead. http://dev.mysql.com/doc/refman/5.1/en/update.html

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.