I'm new to php and mysql, but not programming I've been coding in c++ for a few years. Does my syntax seem to be ok? myphpadmin says my server version is 5.1.63-cll. My first column is named Index and I set it to auto-increment. My next one is UserName, then Password, then Email. I'm getting this error when the php code runs: 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 'Index, UserName, Password, Email) VALUES(NULL, 'shadyvillian','mypassword','addr' at line 1. I seem to be connecting to the database ok is this a problem with my database or the code?