/*********************************************************************** * froshims4.php * * Computer Science 50 * David J. Malan * * Implements a registration form for Frosh IMs. Submits to itself. **********************************************************************/ // if form was actually submitted, check for error if (isset($_POST["action"])) { if (empty($_POST["name"]) || empty($_POST["gender"]) || empty($_POST["dorm"])) $error = true; } ?>