Responses

Entry was cancelled

"; } else { print"

Here are the results

"; print"

"; $filmName=$_POST['filmName']; $seatType=$_POST['seatType']; $clientName=$_POST['clientName']; $visitedBefore=$_POST['visitedBefore']; print "Client name was $clientName
"; print "The film title was "; switch ($filmName) { case HP: print "Harry Potter
"; break; case ST: print "Star Trek
"; break; default: print "Watchmen
"; break; }; print "Seat Type ".$seatType."
"; print "

Cinema was " if ($visitedBefore){ print "not " } print "visited before

"; }; ?>