phpPrincess Posted December 12, 2005 Share Posted December 12, 2005 i keep getting a *** parse error on this line, my syntax must be wrong....help!!! $sql="INSERT INTO user (userID,fname,mi,lname,gender,st,pass) values ('$userID', '$fname', '$mi', '$lname', '$gender', '$st', '$pass'); Quote Link to comment Share on other sites More sharing options...
obsidian Posted December 12, 2005 Share Posted December 12, 2005 you're missing your closing quote on the statement: <?php $sql="INSERT INTO user (userID,fname,mi,lname,gender,st,pass) values ('$userID', '$fname', '$mi', '$lname', '$gender', '$st', '$pass')"; ?> Quote Link to comment Share on other sites More sharing options...
phpPrincess Posted December 12, 2005 Author Share Posted December 12, 2005 WHERE???!?!??!?! ok i changed it and im still getting Parse error: parse error, unexpected T_VARIABLE in /home/sajes2/public_html/ratemyboyfriend/register.php on line 7 this is my line 7 $sql="INSERT INTO user (userID,fname,mi,lname,gender,st,pass) values ('$userID', '$fname', '$mi', '$lname', '$gender', '$st', '$pass')"; Quote Link to comment Share on other sites More sharing options...
ryanlwh Posted December 13, 2005 Share Posted December 13, 2005 you might have missed a ; or something else before line 7. Please post line 1-7, and use tag. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.