I'm trying to retreive a password out of a database
function Verify()
{
$query = mysql_query($run);
$run = " SELECT * FROM $dbtable WHERE acc='$sent_acc' AND pass='$sent_pass'; ";
if($run)
return true;
else
return false;
}
it always returns true
this is where I'm trying to verify if the password is correct.
function Verify()
{
$query = mysql_query($run);
$run = " SELECT * FROM $dbtable WHERE acc='$sent_acc' AND pass='$sent_pass'; ";
if($run)
return true;
else
return false;
}
it always returns true
this is where I'm trying to verify if the password is correct.