typically you would write a sql statement in php like so, to query mysql database.
$sql="select * from table where userid='username' and password='$pass'";
My question is, if i'm using password_hash($pass,PASSWORD_BCRYPT) to encrypt my password, how do i write the above query to retrieve some rows from my database, since the hashed password stored in the database will not be the same text password input by the user? Pls advice. Thanks.