Possible Duplicate:
Why shouldn’t I use mysql_* functions in PHP?
hye, Can i use a code in php like this:
$s_username = addslashes(strip_tags($_POST['username']));
$s_password = addslashes(strip_tags($_POST['password']));
before this is use this
$email = mysql_real_escape_string(strip_tags($_POST['email']));
$username = mysql_real_escape_string(strip_tags($_POST['username']));
...because many said that mysql_real_escape_string is dangerous to use?