Help me understand please.
If no insert is to be done , then I would not have to use mysql_real_escape_string() correct ?
If I were to do a insert, then it would be best to use mysql_real_escape_string()
Such as :
$username= mysql_real_escape_string(trim($_POST['username']));
Now for no user input on a form lets say, this just wouldnt be used correct ?
Need some form of user input correct ?
I mean we wouldnt use that on something like this correct :
$result2 = mysql_query("SELECT * FROM members WHERE statis='1'");
$inactt = mysql_num_rows($result2);
But we would use it on anything that from a form of post that would get inserted into db correct....