Beach Workout Registration Submitted

[insert_php]
$addr = “diana@karate-family.com”;
//$addr = “chrismizelle@cox.net”;

$yourName = $_POST[“yourName”];
$numInParty = $_POST[“numInParty”];
$dish = $_POST[“dish”];

echo “Thank You for registering for the Beach Workout! We look forward to seeing you there.”;

$message = “”;
$subj = “Beach Workout Signup Information submitted by $yourName “;

$message .= “Submitted by: $yourName\n”;
$message .= “Number in Party: $numInParty\n”;
$message .= “Dish: $dish\n”;

$extra = “From: noreply@karate-family.com\r\nReply-To: $email\r\n”;

if ($addr != “” && $yourName != “”)
{
mail ($addr, $subj, $message, $extra);
mail (“chrismizelle@cox.net”, $subj, $message, $extra);
}

[/insert_php]

Top