$value) { if(strlen($key) > $max_key_length) { $max_key_length = strlen($key); } } $max_key_length += 2; foreach($_POST as $key=>$value) { if(in_array($key, $disallowed_keys))continue; $key = ucwords(str_replace('_', ' ', $key)).': '; $value = str_replace("\n", "\n".str_repeat(' ', $max_key_length), $value); $message.= str_pad($key, $max_key_length).$value."\n"; } //mail('david@nexusdrinks.com', 'Nexus Enquiry', $message, "From: No Reply \r\n"); mail('forms@giantpeachdesign.com', 'Nexus Callback Request', $message, "From: No Reply \r\n"); mail('enquiries@nexusdrinks.com', 'Nexus Callback Request', $message, NULL, '-f noreply@nexusdrinks.com'); header("location:thankyou.html"); // $output = '
'.$FORM_SUCCESS.'
'; unset($_POST); } } function echo_if($field) { echo isset($_POST[$field])?$_POST[$field]:''; } ?> Vending Machines | Office, Meeting Room & Reception Vending Machines | Nexus Drinks

Request a callback

   
* Full Name:
Company Name:
* Telephone: