$order_state = $_POST['key_order_info_state']; $order_zip = $_POST['key_order_info_zip']; $order_product_cost = $_POST['key_order_info_product_cost']; $order_deliver_fee = $_POST['key_order_info_deliver_fee']; $order_tip = $_POST['key_order_info_tip']; $order_total = $_POST['key_order_info_total']; $order_deliver_by = $_POST['key_order_info_deliver_by']; $order_summary = $_POST['key_order_info_summary']; $order_time = $_POST['key_order_info_time']; $databaseConnection->orderInfoUpdate($_key, $_user_name, $order_id, $order_customer_name, $order_customer_phone, $order_distance, $order_address, $order_city, $order_state, $order_zip, $order_product_cost, $order_deliver_fee, $order_tip, $order_total, $order_deliver_by, $order_summary, $order_time); } else { if ($_key_type == $_type_manager_order_info_query) { $_key = $_POST['_key_scudsbook']; $order_id = $_POST['key_order_info_id']; $_user_name = $_POST['_user_name']; $databaseConnection->queryOrderInfo($_key, $order_id, $_user_name); } else { if ($_key_type == $_type_manager_order_info_list_query) { $_key = $_POST['_key_scudsbook']; $_user_name = $_POST['_user_name']; $databaseConnection->queryOrderInfoList($_key, $_user_name); } else { if ($_key_type == $_type_deliver_order_info_query) { $_key = $_POST['_key_scudsbook']; $order_id = $_POST['key_order_info_id']; $_user_name = $_POST['_user_name']; $databaseConnection->queryOrderInfoDeliver($_key, $order_id, $_user_name); } else { if ($_key_type == $_type_deliver_order_info_list_query) { $_key = $_POST['_key_scudsbook']; $_user_name = $_POST['_user_name'];