Using Default Checkbox Values
$food = $_GET[food];
$self = htmlentities($_SERVER['PHP_SELF']);
if (!empty($food)) {
echo "The foods selected are:
";
foreach($food as $foodstuf)
{
echo "".htmlentities($foodstuf)."
";
}
}
else
{
echo (" echo ('method="get">
');
}
?>