// validate submission if ($_REQUEST["name"] == "" || $_REQUEST["gender"] == "" || $_REQUEST["dorm"] == "") { header("Location: http://cs50.net/lectures/weeks/8/src/froshims.html"); exit; } ?>