Resolved Thank you everyone! It turned out "Group" was a registered mysql term so I changed "Group" to Web_Group. Phew... This was frustrating me all night. Thank you so much stackoverflow users!
I keep trying to write to a column in mysql which is "Group" and it doesn't work.
$query = mysql_query("INSERT INTO users SET username='$username',password='$pass',mcname='$mcname',Group='Member',email='$email',confirm='$confirmcode',status='0'");
The weird part is if I take out Group='Member' The code works flawlessly. Yes the column "group" starts with a capital letter so that isn't the problem.
What can I do to fix this?
The MySQL error is:
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 'Group='Member',email='sdfsdf',confirm='1d4ba9f5cbb214965b4f6ba5ad1c4fba',status=' at line 1