Learning PHP and MySQL
Example 04-11 What happens when there are no break keywords
<?php
$action=”ASSEMBLE ORDER”;
switch ($action) {
case "ASSEMBLE ORDER":
echo "Perform actions for order assembly.<br>";
case "PACKAGE":
echo "Perform actions for packing.<br>";
case "SHIP":
echo "Perform actions for shipping.<br>";
?>
Posted by on 08/03 at 08:13 AM