Anti-Bullying Registration Submitted

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

$yourName = $_POST[“yourName”];
$emailAddr= $_POST[“emailAddr”];
$phoneNumber= $_POST[“phoneNumber”];
$numOfPeople= $_POST[“numOfPeople”];

echo “Thank You for registering for the Anti-Bullying Seminar! We look forward to seeing you there.
“;

$message = “”;
$subj = “Anti-Bullying Seminar Signup Information submitted by $yourName “;

$message .= “Submitted by: $yourName\n”;
$message .= “Email Address: $emailAddr\n”;
$message .= “Phone: $phoneNumber\n”;
$message .= “Number of People: $numOfPeople\n”;

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

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

[/insert_php]

Top