Hi there,
I've got the following:
$s_username = addslashes(strip_tags($_POST['username']));
$s_password = addslashes(strip_tags($_POST['password']));
Is there anyway of using an if statement around those to see whether they actually did anything?
Sort of like an error check:
If somebody submits a ' or a " in the query, then I want it to send them back to the login page saying that they used an invalid login or something.
Thanks,
Chris Evans