$choices = array('eggs' => 'E', 'toast' => 'T', 'coffee' => 'C');echo "\n";foreach ($choices as $key => $choice) { echo "$choice\n";}echo "";if (! array_key_exists($_POST['food'], $choices)) { echo "You must select a valid choice.";}?>