Jump to content

query problem


malbolgia

Recommended Posts

im trying this query
INSERT INTO character (charname, charborn, charqual, id) VALUES ('Snoopy', '2006-10-08', 'cool', 'Snoopy');

and 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 'character (charname, charborn, charqual, id) VALUES ('Snoopy', '

i cant seem to see whats wrong

this is the table structure
id varchar(50)
charname varchar(60)
charborn date
charqual varchar(60)
Link to comment
https://forums.phpfreaks.com/topic/8499-query-problem/
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.