Question: Please post the code when answering Create a sign in or log in page. The user should see two forms. Form 1 will enable the

Please post the code when answering Create a sign in or log in page. The user should see

Create a sign in or log in page. The user should see two forms. Form 1 will enable the user to sign in to the system by providing an account name and a password. When the user provide account name and password then click on submit button to sign in, a PHP page will take the account name and the password and verify if account name already exists in the database. If account exist, notify the user that account already exists and to try again by pressing the back button on the browser. If the account does not exists, insert the account and password into the database and tell the user that account created and that they need to login to the system. Form 2 will enable the user to login to the system. When the user provide account name and password then click on submit button to sign in, a PHP page will take the account name and verify if account name already exists in the database. If the account does exist, then verify if the password in the database matches the password entered by the user. If the passwords match, inform the user of a successful login. If the passwords do not match, let the user knows invalid password. if the account does not exist, let the user knows that invalid account.

Step by Step Solution

3.44 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

answer Sign InLog In Page Sign InLog In Page Sign In Account Name Password Log In Account Name Password signinphp Connect to the database db mysqlicon... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!