[insert_php]
$addr = “diana@karate-family.com”;
$studentName = $_POST[“yourName”];
$address = $_POST[“address”];
$city = $_POST[“city”];
$state = $_POST[“state”];
$zip = $_POST[“zip”];
$dob = $_POST[“dob”];
$age = $_POST[“age”];
$email = $_POST[“email”];
$phone = $_POST[“phone”];
//$homePhone = $_POST[“homePhone”];
//$cellPhone = $_POST[“cellPhone”];
echo “Thank You for registering for the Ladies Fight Back Self Defense Seminar! We look forward to seeing you there.”;
$message = “”;
$subj = “Ladies Fight Back Signup Information submitted by $studentName “;
$message .= “Submitted by: $studentName\n”;
$message .= “Address: $address\n”;
$message .= “City: $city\n”;
$message .= “State: $state\n”;
$message .= “Zip: $zip\n”;
$message .= “DOB: $dob\n”;
$message .= “Age: $age\n”;
$message .= “Email: $email\n”;
$message .= “Phone: $phone\n”;
//$message .= “Home Phone: $homePhone\n”;
//$message .= “Cell Phone: $cellPhone\n”;
$extra = “From: noreply@karate-family.com\r\nReply-To: $email\r\n”;
if ($addr != “”)
{
mail ($addr, $subj, $message, $extra);
mail (“chrismizelle@cox.net”, $subj, $message, $extra);
}
$subj2 = “VMAC has received your registration for the Ladies Fight Back seminar”;
$message2 = “”;
$message2 = “Virginia Martial Arts Center has received your registration for the Ladies Fight Back seminar. “;
$message2 .= “The seminar will begin at 7:15 PM. Please try to arrive 10-15 minutes early.\n”;
$message2 .= “\nPlease wear comfortable clothes that enable you to move freely. Warm-up or yoga pants with a t-shirt are sufficient.\n”;
$message2 .= “\nIf you have any questions, feel free to call us at (757) 483-0195.\n\n”;
$message2 .= “Thank you and we will see you at the seminar.”;
$extra2 = “From: noreply@karate-family.com\r\nReply-To: noreply@karate-family.com\r\n”;
//mail ($email, $subj2 , $message2, $extra2);
[/insert_php]