Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can this be written in the correct php format for testing? *Need help using a SELECT statement to check mySQL database WHERE the username =
Can this be written in the correct php format for testing? *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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started