and employees can login with their unique username and password ,two different table (database) 1) admin table and 2) employees database .
When admin login then he will automatically redirect to the admin dashboard and employees are same as admin
I don't want to use type switch! Like select admin or employee because I created two different tables one for admin and other for employees
Make relationship with primary key and foregin keys 😐
Обсуждают сегодня