darkfreaks Posted September 11, 2007 Share Posted September 11, 2007 ok can someone tell me if i escaped it right because now on the index page i get cant connect to $user @ localhost using password YES. <?php $collect_user = mysql_query("SELECT * FROM progress_users WHERE name = '$NAME' AND password = '$PASS'", mysql_real_escape_string($NAME), mysql_real_escape_string($PASS))or die(mysql_error()); ?> Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted September 11, 2007 Author Share Posted September 11, 2007 nevermind it was my db connect line 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.