tomhartley Posted April 21, 2012 Share Posted April 21, 2012 I have added this into my php login system: $query = mysql_query("SELECT * FROM users WHERE username='$username'"); But when I login in to the system it says Parse error: syntax error, unexpected T_VARIABLE Please help, idk what to do! Quote Link to comment Share on other sites More sharing options...
fenway Posted April 21, 2012 Share Posted April 21, 2012 That's a PHP error -- and usually it gives you a line number. 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.