How do I redirect the login screen where there are 3 types of user:
1-Admin 2-Employee 3-Customer
And each will be redirected to different pages.
How do I redirect the login screen where there are 3 types of user:
1-Admin 2-Employee 3-Customer
And each will be redirected to different pages.
You can use the PHP header
if($tipoUsuario=='admin'){
header('Location: url/do/admin.php');
}else if($tipoUsuario=='usuario'){
header('Location: url/do/usuario.php');
}else if($tipoUsuario=='cliente'){
header('Location: url/do/cliente.php');
}
Is this what you need?