session_start(); if($s_name=='') { header("location:login.php"); } include("connection.php"); $SelType = mysql_query("select * from users where UserName='$s_name'"); $rro = mysql_fetch_array($SelType); if($rro[UserType]=='Menufac') { header("location:Manufacturer-Inbox.php"); } if($rro[UserType]=='Admin'){ header("location:control/Request-Quotation.php"); } ?>
| ||||||||||||||||||||||||||||
|