if ($_POST ['submitted'] == "yes") {
if (count ( $_POST ['fruit'] ) != 0) {
echo "Your Selections:
";
} else {
echo "You have not made any selections.
";
}
for($i = 0; $i < count ( $_POST ['fruit'] ); $i ++) {
echo $_POST ['fruit'] [$i] . "
";
}
?>Try Again}
if ($_POST ['submitted'] != "yes") {
?>
}
?>