+ 1
Login in php?
How I make the user and admin login with different pages in one button
3 odpowiedzi
+ 2
//First of all registering users
//login user
//Use session to to use user logged in data across multiple pages
/simple example with source code
http://codewithawa.com/posts/complete-user-registration-system-using-php-and-mysql-database
+ 1
You need to check with sql if user trying to sign in is a normal user, if yes then redirect to respective page. If not, check if its an admin, if yes redirect to respective page, if not then its a wrong username/password
0
thank you for helping me