connect_error)
{
exit("Connection failed: " . $conn->connect_error);
}
?>
alert("Please fill out everything before submitting"); '; //Alert the coach of their mistake
}
?>
Coach Registration
alert("Please fill out everything before submitting"); '; //Alert player of their mistake
}
?>
Player Registration
is not registered. Hit the back button if you've seen this page before. Please register just once and then fill out the survey again.
query($query) === TRUE)
{
header("Location: athlete_survey.php"); //send the athlete back to the survey
}
else
{
echo "ERROR: " . $conn . "
" .$conn->error;
echo "Please contact your coach if this error persists. ";
echo "Try Again Here
";
}
}
?>
query($query) === TRUE)
{
header("Location: coach_index.php?error=Registered!"); //send the coach to the login page
}
else
{
echo "ERROR: " . $conn . "
" .$conn->error;
echo "Please contact your coach if this error persists. ";
echo "Try Again Here
";
}
}
}
?>