<?php echo "<p>This order is for {$_COOKIE['custName']}</p> <p>Size: ".$_COOKIE['pizzaSize']."</p> <p>Toppings:</p><ul>"; $pizzaToppings = unserialize(stripslashes($_COOKIE['pizzaToppings'])); if(is_array($pizzaToppings)) { foreach($pizzaToppings as $topping) { echo "<li>$topping</li>"; } } echo "</ul>"; ?>