Wellington Health and Fitness Club
Indoor Rock Climbing Waiver Form
“; } else { echo “Failed to send email to $to1.“; } // Send email to the second recipient if (mail($to2, $subject, $message, $headers)) { echo “Email sent to $to2 successfully.
“; } else { echo “Failed to send email to $to2.
“; } // Optionally, you can redirect the user to a thank-you page after submission // header(“Location: thank-you.html”); // exit(); } else { echo “Error: Form submission method is not POST.”; } ?>