| » If you want to book a course, please click here |
|
Have another go!";
}
else
{//send email
$email = $_POST['email'] ;
$name = $_POST['name'] ;
$course = $_POST['company'] ;
$message = $_POST['message'] ;
$postdate = date('d F Y, H:i:s') ;
$IP = getenv("REMOTE_ADDR") ;
$company = $_POST['company'] ;
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\n";
$headers .= "From: <$email>" . "\n";
mail("mail@nailsandbeautyacademy.co.uk", "Contact Form: $name",
"message: $name, Company: $company, Questions: $message Sender Information: IP address of Sender: $IP Date and Time of Submission: $postdate", "$headers" ); echo "Thank you for choosing the Nails and Beauty Academy. Your enquiry has been sent and we will contact you as soon as possible. "; } } else {//if "email" is not filled out, display the form echo ""; } ?> |
| Copyright © Nails and Beauty Academy 2011. |