0
I think you mean how to select a hashed and salted password from a database then verify it with a plaintext password? If so, here is how with bcrypt.
Keep in mind, this requires PHP 5 >= 5.5.0.
Also, I recommend scrypt over bcrypt, but you have to install scrypt manually.
SQL stuff
CREATE DA...