//ssessioin start session_start(); if($s_name==''){ header("location:login.php"); } $UserName = $s_name; include("connection.php"); //select users $SelectUsers = mysql_query("select * from users where UserName = '$UserName'"); $Urow = mysql_fetch_array($SelectUsers); //select customer $SelectCustomer = mysql_query("select * from customers where CustomerID = '$Urow[CustomerID]'"); $CRow = mysql_fetch_array($SelectCustomer); //select cart $Sel = mysql_query("select * from cart where UserName = '$UserName' order by ID ASC"); $Selmanufacturers = mysql_query("select * from manufacturers where IsSNT='1'"); $Mrow = mysql_fetch_array($Selmanufacturers); ?>
| ||||||||||||||||
|