Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build

 |  Print Thread
Terborch
regular


Reg'd: Thu
Posts: 29
PHP Login Script
      Wed Jan 24 2007 01:13 AM

Anyone know anything about php signup & login scripts? I have one and modified it to work on my site. When I tried out the signup part of it, it gave me this message:
Quote:

Parse error: syntax error, unexpected T_STRING in signup.php on line 41



Heres the line it's talking about:
Quote:

VALUES ('".$_POST['username']."', '".$_POST['pass']."')";



Heres the lines above and below that one to give you a better idea of what its reading:
Quote:

// now we insert it into the database $insert = "INSERT INTO users (username, password)
VALUES ('".$_POST['username']."', '".$_POST['pass']."')";
$add_member = mysql_query($insert);
?>



What did I miss & how do I fix it?

Post Extras Print Post   Remind Me!     Notify Moderator
Rate this thread

Jump to


Entire topic
Subject Posted by Posted on
* PHP Login Script Terborch Wed Jan 24 2007 01:13 AM
. * * Re: PHP Login Script Zippy_Brown   Wed Jan 24 2007 10:24 PM
. * * Re: PHP Login Script ianm   Wed Jan 24 2007 09:14 PM

Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Thread
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Thread views: 0

Contact Us | Privacy statement Main website