Back";
exit;
} else {
$record = mysqli_fetch_assoc($result);
}
}
//continue only if the square is available
if ($record['DATE'] == "0000-00-00 00:00:00" || $record['DATE'] == NULL) {
//check for required fields
for ($i=1;$i<=$sqTotal;$i++) {
if (($sqSelect[$i] >= 00 OR $sqSelect[$i] < 100) AND $name != '' AND $email != '') {
$sql="UPDATE VNSB_squares SET NAME='".$name."', EMAIL='".$email."', NOTES='".$notes."', DATE='".$date."', CONFIRM='".$confirm."' WHERE SQUARE='".$sqSelect[$i]."' LIMIT 1";
$result = mysqli_query($conn, $sql);
if (!$result) {
echo mysqli_error();
echo "
Sorry, Technical problem occurred... your selection was not added.
Email this problem to ".$ADMIN_EMAIL."";
exit;
}
} else {
echo "
Required fields are missing!
Back
|
Your request has been recieved and an email was sent to your email address given. The square(s) =$selectedSQUARES?> is(are) temporary reserved in your name "=$name?>", pending confirmation. IF YOUR PAYMENT CAN NOT BE VERIFIED WITHIN 24 HOURS, YOU WILL LOOSE THE SQUARE(S). Good Luck and enjoy the game. The Commissioner |