PHP Multiple User Login Form - Navigation to Different Pages Based on Login Credentials
- by Zulu Irminger
I am trying to create a login page that will send the user to a different index.php page based on their login credentials. For example, should a user with the "IT Technician" role log in, they will be sent to "index.php", and if a user with the "Student" role log in, they will be sent to the "student/index.php" page.
I can't see what's wrong with…