Page 1 of 1

registration form .php mysql error

PostPosted: 14. June 2011 17:49
by louismoore18
When i type everything into my registration page and send it, it runs a .php page. This should write to the database/table i have set up but instead it returns...

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,last name, username,email,password)values('louis','moore','louismoore18','l' at line 1

What is this. I have a feeling it because it may not be connected to the 'memebers' table within 'test' but i dont know how to point it there

Thanks

Re: registration form .php mysql error

PostPosted: 14. June 2011 21:34
by Altrea
Thats what the error message is telling you.
You have an error in your SQL Syntax near the column name "name".
For any further help we must see your SQL syntax in your sourcecode.