04-20-2009, 04:00 PM
|
#2 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
Looks like you need to header function, like this:
PHP Code:
$_SESSION['username']=$username; $type=$dbtype;
if($type=="Student") { header("Location: stud_login.php"); } else { header("Location: guest_login.php"); }
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|