password_verify executed as false in if/else function even the user log in the correct credentials This simple code is how to register and log in on my website.