require ("ncacaa/config.php"); require ("variables.php"); if ($_POST[action] != 'Register') { include ("registration_form.php"); exit; } elseif (isset ($_POST[email]) && ($_POST[email] != '') && isset ($_POST[realname]) && ($_POST[realname] != '') && isset ($_POST[county]) && ($_POST[county] != '') && isset ($_POST[address]) && ($_POST[address] != '') && isset ($_POST[city]) && ($_POST[city] != '') && isset ($_POST[zip]) && ($_POST[zip] != '') && isset ($_POST[phone]) && ($_POST[phone] != '') && (($_POST[members] + $_POST[spouse] + $_POST[children] + $_POST[free_children] + $_POST[life_members] + $_POST[banquet_only]) >= 1)) { // All required info is passed - continue use_ncacaa(); // clean up rest of the variables foreach ($_POST as $key => $value) { $$key = $value; } $party_cnt = ($_POST[members] + $_POST[spouse] + $_POST[free_children] + $_POST[children] + $_POST[life_members] + $_POST[banquet_only]); // error checking if ($spouse_name != '' && $spouse == 0) { // not all required info passed print(" \n"); print("
\n"); print("You entered a Spouse's Name, but have not registered your spouse. Please go back and correct this. If you feel there is an error or would like to make a change, please contact John Dorner.
\n"); print(" \n"); print("