Hey, I'm doing a simple INSERT command, can you tell me what's wrong with it? I won't bother you with the php right now, cause I'm simply trying to get it work in the MySQL command line. Here is the exact command:
INSERT INTO Birthdays(ID, firstname, lastname, birthday, group) VALUES('','Sam','Smith','June','Junior')
As far as I know, this is following syntax perfectly. But I get the following error:
[IMG]http://www.packerworld.com/nate_personal/sql_error.JPG[/IMG]
Notice how "group", which should be a field in my table, is formatted in the query as if it's a command, instead of a field? I just don't get it!
Maybe I've set the fields in my table up incorrectly? I'm kind of new at MySQL, so maybe my table isn't set up correctly. Here's a screenshot of my table:
[IMG]http://www.packerworld.com/nate_personal/table.JPG[/IMG]