<?php
/*Subjcet and Email variable*/

$emailSubject = 'Crazy PHP Scripting!';
$webMaster = 'gayansampath59@yahoo.com';

/*Gthering Data Varible*/

$emailfield = $_POST['email'];
$namefield = $_POST['name'];
$phonefield = $_POST['phone'];
$travelfield = $_POST['traverlers'];
$commentfield = $_POST['comment'];
$newsletterfield = $_POST['newsletter']:


$body = <<<EOD

<br><hr><br>

Email:$email <br>
Name:$name <br>
Phone Number:$phone <br>
Buget:$buget <br>
News Letter:$newsletter <br>
EOD;
$header = "Frome;$email\r\n";
$header = "Content-type:text/html\r\n";
$success = mail($wemarster, $emailsubject, $body,  $headers);

/*result rendered as HTML*/

$theResult = <<<EOD


<html>
<head>
<title>JakesWorks - travel made easy-Homepage</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	background-color: #f1f1f1;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	color: #666666;
	text-decoration: none;
}
-->
</style>
</head>

<div>
  <div align="left">Thank you for your interest! Your email will be answered very soon!</div>
</div>
</body>
</html>
EOD;
echo "$theResult";


?>