I'm trying to find the errors in this sql statement
INSERT INTO images(user, server, img-name, download, download-url, image-loc) VALUES(email@example.com, 3, Penguins.jpg, no, GaNfT, 69Z8PwE0uJLfRNDijPenguins.jpg)
I also have an auto increment column but as I understand it you shoudln't supply a value
It comes out with 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 '-name, download, download-url, image-loc) VALUES(firstname.lastname@example.org, 3, Penguin' at line 1
I have no idea what the error is, can anybody help?