Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

Students also viewed these Databases questions

Question

Name each of the following compounds:

Answered: 1 week ago

Question

7-16 Compare Web 2.0 and Web 3.0.

Answered: 1 week ago