how-to-create-a-php-login-form
how-to-create-a-php-login-form
Create 3 php/html pages. The first page should be a login page. This page will have a form on it just like the one presented in class. The second page will be like the authentication page we looked at in class except it should start a session and save the username as a session variable. It should then move to the third page. The third page should retrieve the username session variable and query the database to get the value for a third field in the users database (you will need to add this field) and display a message showing the value of that third field.
If login fails on the authentication page and you are returning to the login page, the login page should detect this and print a message saying that login failed.
