Question: *Need help using a SELECT statement to check mySQL database WHERE the username = what the user entered on the form. **Instructions** *Need help checking
*Need help using a SELECT statement to check mySQL database WHERE the username = what the user entered on the form. **Instructions** *Need help checking if the user's password is correct by creating a string*instructions*query to SELECT the correct row from a customers file in *mysql database WHERE the username is equal to what the user entered on the form - retrieving just the password column. *Need to compare the password from the screen (POST) to the password from the database (row) *If the passwords match (from screen and the database) then they have success - return true back to userLogin.php *Else return false back to userLogin.php *Update userLogin.php to 1. return to the form.php page if they do not successfully login *If the return value is true - use the header logic to redirect the user to UserLoginDatabase/index.html
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
