09-17-2011, 06:54 PM
(This post was last modified: 09-17-2011, 06:55 PM by AceInfinity.)
(09-17-2011, 05:53 PM)Gaijin Wrote: You've forgot one ")" after now()...
Code:mysql_query("INSERT INTO user_info (firstname, lastname, username, email, password, sign_up_date)
VALUES('$firstname','$lastname','$username','$email','$password', now())")
I think that is the error you're looking for.
It's not the second line of the source,it's the second line of the SQL command... (You have an error in your SQL syntax; )
That's where the " was... I keep forgetting the code blocks don't display the whole text, you have to use the scroll bar, so sometimes I select their code, and it's only the visible part at the top of the scrolled code box lol. And that's the reason why I wish this forum added a select all function to the php and code boxes like on my forum.