check($_POST['captcha_code']) == false) { // the code was incorrect $errors[] = "The code you entered was incorrect. Please try again."; } if (count($errors) == 0) { $dt = date("M d, Y h:i:s a"); $phone1 = prettyPhoneNumber($phone1); // Build message $message = "The following information was submitted from the Contact Form on $dt: Name: $contact_name Phone: $phone1 Email: $contact_email Questions/Comments: $comments "; $subject = "Rider Rescue Contact Form Submission"; foreach ($admin_emails AS $an_eaddr) { mail($an_eaddr, $subject, $message, $email_headers); } $c_success = TRUE; } else { foreach ($pvars AS $a_pvar) { if (!is_array(${$a_pvar})) { ${$a_pvar} = htmlSafe(${$a_pvar}); } } } } $page_title = "Contact Rider Rescue - Contact Us for Motorcycle & Scooter Roadside Assistance."; $page_desc = "Contact Rider Rescue for Motorcycle and Scooter Roadside Assistance. Rider Rescue Roadside Assistance for Scooters and Motorcycles"; $page_keys = "motorcycle, dealers, scooters, towing, tow, flat tire, roadside, assistance, service"; // Display $dpf_title = "Contact Us"; $contact_class = "class='nav'"; include(DOCROOT."/includes/pre_content_pub.php"); ?>
A Rider Rescue Representative will be in touch as soon as possible.
"; } else { ?>