Here is your order

array("filename" => "images/Pie.jpg", "price" => 4.95), "Edible Pizza" => array("filename" => "images/Pizza.jpg", "price" => 7.95), "Collard Greens" => array("filename" => "images/Collards.jpg", "price" => 5.89), "Ean's Edible Sandwich" => array("filename" => "images/Sandwich.jpg", "price" => 7.53), "Ackee and Salt Fish" => array("filename" => "images/Ackee.jpg", "price" => 9.95) ); */ ?>
$info) { // Add underscores to name to match form data $formattedName = str_replace(" ", "_", $name); // Ensure whole numbers $qty = round($_POST[$formattedName]); // Skip if quantity less than 1 if ($qty < 1) continue; // Get price from array $price = $info['price']; ?>
ItemQuantityPrice per Item
$
Tax (7%):   $
Total:   $
Home | New Order"; ?>