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()); ?> Link to comment https://forums.phpfreaks.com/topic/68921-solved-my_sql_real_escape_string-problems/ 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 Link to comment https://forums.phpfreaks.com/topic/68921-solved-my_sql_real_escape_string-problems/#findComment-346439 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.