Should this work? Have tried = 1 and = '1'
if (isset($_POST['B1'])===true AND $_SESSION['Permit']= '1') {
header('location: Ordering1.php');
exit();
}
if (isset($_POST['B1'])===true AND $_SESSION['Permit']= '2') {
header('location: Ordering2.php');
exit();
}
mANY THANKS
if (isset($_POST['B1'])===true AND $_SESSION['Permit']= '1') {
header('location: Ordering1.php');
exit();
}
if (isset($_POST['B1'])===true AND $_SESSION['Permit']= '2') {
header('location: Ordering2.php');
exit();
}
mANY THANKS