Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP error on page submit
#4
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.

(09-17-2011, 05:20 AM)Fragma Wrote: The error is on line 2?? So remove the comment??

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; )
Reply


Messages In This Thread
PHP error on page submit - by kaosjon - 09-17-2011, 03:51 AM
RE: PHP error on page submit - by Fragma - 09-17-2011, 05:20 AM
RE: PHP error on page submit - by AceInfinity - 09-17-2011, 06:14 AM
RE: PHP error on page submit - by Gaijin - 09-17-2011, 05:53 PM
RE: PHP error on page submit - by AceInfinity - 09-17-2011, 06:54 PM
RE: PHP error on page submit - by Gaijin - 09-17-2011, 07:43 PM
RE: PHP error on page submit - by +Awesome - 09-18-2011, 01:47 AM
RE: PHP error on page submit - by AceInfinity - 09-18-2011, 03:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 774 07-27-2020, 11:26 PM
Last Post: tk-hassan
  [PHP] Very Basic Login Page BreShiE 17 6,922 07-11-2013, 05:57 AM
Last Post: 1n9i9c7om ツ
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,264 10-10-2011, 01:00 PM
Last Post: Greyersting
  [TUT] PHP Password Protected Page PurpleHaze 23 5,757 05-20-2011, 02:56 AM
Last Post: stephen5565
  PHP DISABLE HTML ON MEMBERS PAGE Leprechaun Coder 8 2,035 05-14-2011, 09:44 PM
Last Post: Leprechaun Coder

Forum Jump:


Users browsing this thread: 1 Guest(s)