session_start(); require_once("scripts/config.php"); require_once('scripts/forms_check_conf.php'); if(isset($_SESSION['cart'])){} //if cart is set, good! else{$_SESSION['cart'] = array();} // if not, set it. // Just tested if sesions is on and it checks $action = get_value('action'); //$test = get_value('test'); if(!empty($action)){ if($action !="back") { //If they came from sales_form2.php if(!empty($_POST['formChart'])){ //Load form value in an array $formorder = $_POST['formChart']; foreach($formorder as $key=>$value){ $name = $form[$value][0]; $price = $form[$value][1]; $this_array = array('quantity' => "1", 'price' => $price , 'name' => "$name", 'cost' => $price); $_SESSION['cart'][] = $this_array;} header("Location:sales_cart.php"); } else {$error = "No items have been ordered, please order an item before proceeding";}} } ?>
echo_meta_tags($_SERVER['PHP_SELF']); ?> include_once("scripts/google.php");?>Order Tax Forms |
Please check the forms you wish to purchase Note: If anyone requires a form not listed here, please contact our sales department at 800-571-3733 or email sales@freedomsys.com echo $test; ?> |