0) { $_SESSION['form_errors'] = $form_errors; //Other incomplete Mail } else { //FORM IS COMPLETE - MAIL THE FORM $_SESSION['your_name'] = $_POST['FULL_NAME']; unset($_SESSION['form_errors']); // EMAIL MESSAGE FUNCTION $to = 'fairheadkenya@gmail.com' . ', '; // note the comma $to .= 'gsafrica@africa-safari.info'; $subject = "Fairhead Kenya enquiry: $this_safari"; $date = date("F j, Y, g:i a"); $message = '
......................................Name | 0) && in_array('Full name is required',$form_errors)){ print ' style="border: 1px solid #CC0000;" ';}?> value="(isset($_POST['FULL_NAME']))? (print $_POST['FULL_NAME']):(print "");?>" /> |
0)) { if(in_array('A valid email address is required',$form_errors) || in_array('Your email address is not correctly formatted',$form_errors)){ print ' style="border: 1px solid #CC0000;" '; }}?> value="(isset($_POST['E_MAIL']))? (print $_POST['E_MAIL']):(print "");?>" /> | |
Country | 0) && in_array('Your country is required',$form_errors)){ print ' style="border: 1px solid #CC0000;" ';}?> value="(isset($_POST['COUNTRY']))? (print $_POST['COUNTRY']):(print "");?>" /> |
Telephone | " /> |
Travel dates | " /> |
Number of people | " /> |
Enquiry | |