registration form .php mysql error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

registration form .php mysql error

Postby louismoore18 » 14. June 2011 17:49

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

Posts: 5
Joined: 14. June 2011 10:29

Re: registration form .php mysql error

Postby Altrea » 14. June 2011 21:34

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
AF Moderator
Posts: 8243
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 40 guests