Major’s Weekly Documentation #1

The goal of this week was to create a employee table to insert employee and creating a login form for the employees and manager to login into. It did take me awhile to find a good login code to go with when searching thru google because most didn’t seem to work the way i wanted it to but when I ask a friend for help they came up with a sufficient one for the project that instead of checking the username and password of the user, it checks a third option to see if the user logging is an employee or an manager. The employee login work for employees and manager but the login error doesn’t work for when the inputs invalid data or the user fails to login in three times. Next week I will work on allowing the manager to insert, update and delete toy products in the manager form to be added to the toy store

this is the login form for the employees and mananger
if the user doesn’t input any word in the email and password textbox, text appear above a textboxes asking for your email and password
if the manager was successful in logging in the manager form display and the the employee login form doesn’t display

Leave a comment