Question: I have this code and am trying to do an action if the passwords match. If they match then display the message on the same
I have this code and am trying to do an action if the passwords match. If they match then display the message on the same page. my code keeps crashing need help
html code
KMOG UI LOG IN
php code
if (password_verify('IAMUSER', $username)) { echo 'Welcome user!'; } else if (password_verify('IAMDRIVER', $password)){ echo 'Welcome Driver!'; } else { echo 'Invalid password.'; } ?>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
