WordPress 3 – how are passwords stored and how do I compare to them?

WordPress appears to have a built in function called wp_hash_password that will hash the given password and then you can compare it in the db.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)