Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
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...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