Jump to content

insert query giving error


Jaswinder

Recommended Posts

Insert  query not working

insert into user(code) values('saafvjfjeklwvlk') where email='[email protected]'

tablename - user

column name - code

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 'where email='[email protected]''

 

Any idea ?

Link to comment
https://forums.phpfreaks.com/topic/288105-insert-query-giving-error/
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.