I have been going through the password_hash() and password_verify() methods in PHP and I\'ve been trying to include that in my code. I can\'t seem to g
password_hash()
password_verify()
$signin_password=$_POST['signin_password']; $hash = password_hash($dbpassword, PASSWORD_DEFAULT); if (password_verify($signin_password, $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; }
Try with this :) Better option is just build your own query.