|
|
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?
|
|
|
|
|