"Email Address", "ship_name" => "Name", "ship_street" => "Street", "ship_city" => "City", "ship_state" => "State", "ship_zip" => "Zip", "phone" => "Phone", "cc_type" => "Credit Card Type", "cc_number" => "Credit Card Number", "cc_exp" => "Expiration Date" ); #18 $cc_types = array("visa" => "Visa", "mc" => "Master Card", "amex" => "American Express" ); #22 $length = array("email" => "55", "ship_name" => "40", "ship_street" => "55", "ship_city" => "40", "ship_zip" => "10", "phone" => "15", "cc_number" => "20" ); #30 $months = array (1=> "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ); $today = time("Y-m-d"); #36 if(!isset($_POST) or @$_POST['Ship'] == "Edit Shipping Information" ) { $cxn = mysqli_connect($host,$user,$passwd,$database); #40 $sql = "SELECT ship_name,ship_street,ship_city,ship_state, ship_zip,phone,email FROM CustomerOrder WHERE order_number = '{$_SESSION['order_number']}'"; $result = mysqli_query($cxn,$sql) or die("Error: ".mysqli_error($cxn)); $n = mysqli_num_rows($result); #47 if($n > 0) #48 { $row = mysqli_fetch_assoc($result); extract($row); } } ?> Furniture Order: Shipping Information

Furniture Shop: Shipping Information

Please fill in the information below

\n"; if(isset($message)) #80 { echo "

$message

"; } foreach($ship_info as $field => $value) #86 { if($field == "ship_state") #88 { echo "
"; } elseif($field == "cc_type") #107 { echo "
"; } elseif($field == "cc_exp") #119 { echo "
\n"; echo "\n"; echo "
\n"; } else #144 { echo "
\n"; } } #154 ?>