Question: using php and sql create a Login Page 1. create a form on the login page that collects username and password 2. When submitted the
using php and sql create a Login Page 1. create a form on the login page that collects username and password 2. When submitted the form needs to use POST instead of GET to verify the username and password 3. Select the username and password from the database. If a row is returned then the login is verified if not then the login is not verified 4. If verified the page relocates to the edit page

password:demo 5. If the user is not verified the page then prints a message that says username and password are not correct 6. if the username and password match the database then set userid to the id for the appropriate user 7. user the username/password is correct and the cookie is set then forward the page to the page for editing people
template: hw1login.php
//form for password
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
