[insert_php]
//$addr = “diana@karate-family.com”;
$addr = “chrismizelle@cox.net”;
$yourName = $_POST[“yourName”];
$emailAddr= $_POST[“emailAddr”];
$phoneNumber= $_POST[“phoneNumber”];
$campName= $_POST[“campName”];
echo “Thank You for registering for the ” . $campName . “! We look forward to seeing you there!
“;
$message = “”;
$subj = $campName . ” Signup Information submitted by $yourName “;
$message .= “Name: $yourName\n”;
$message .= “Email Address: $emailAddr\n”;
$message .= “Phone: $phoneNumber\n”;
echo “
The following information was submitted:
” . $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]