';} if ($emailNeeded) {echo '* Email required
';} if ($invalidEmail) {echo '* Invalid Email
';} if ($commentsNeeded) {echo '* Comments required
';} if ($verificationNeeded) {echo '* Verification Code Required
';} if ($verificationFailed) {echo '* Verification Incorrect
';} ?>
Verification Code
Name: '.stripslashes($name).'
Email: '.stripslashes($email).'
Customer Type:'.stripslashes($customerType).'
Phone:'.stripslashes($phone).'
Message:'.stripslashes(nl2br($comments)).'
'; // SENDS OUT MAIL if(mail($toEmail, $subject, $message, $header)) { echo ''; exit; //IF MAIL FAILS AND DOESN'T SEND, SHOW CONTACT FORM AGAIN } else { ?>
There was an sending your message. Please try again.
Verification Code