scottyrob
10-31-2006, 02:27 PM
Hi there.. I currently have this code
<?php
session_start();
if($_SESSION['User_Type'] == 'leader')
{
header('Location: LeaderMain.php');
}
else
{
header('Location: ExplorerMain.php');
}
?>
I would like it to be - If user type is leader then go to leadermain.php, If user type is explorer go to explorermain.php else go to error.php
<?php
session_start();
if($_SESSION['User_Type'] == 'leader')
{
header('Location: LeaderMain.php');
}
else
{
header('Location: ExplorerMain.php');
}
?>
I would like it to be - If user type is leader then go to leadermain.php, If user type is explorer go to explorermain.php else go to error.php