Create Your Holiday
“;
$cont .= “
“.”“.”PERSONAL INFORMATION”.”“.” | ||||||||||||||||||||
“.”
“.” |
||||||||||||||||||||
“.”“.”TOUR INFORMATION”.”“.” | ||||||||||||||||||||
“.”
“.” |
“;
$cont .= “
“;
$cont .= “
“.”“.”PERSONAL INFORMATION”.”“.” | ||||||||||||||||||||
“.”
“.” |
||||||||||||||||||||
“.”“.”TOUR INFORMATION”.”“.” | ||||||||||||||||||||
“.”
“.” |
“;
$cont .= “
“;
$tname = $_POST[‘fname’].” “.$_POST[‘lname’];
$tfrom = $tname;
@$from = “bestshoretrips.com”;
$email = $_POST[’email’];
$headers = ‘From: ‘.strip_tags($tfrom). “\r\n”. ‘Reply-To: ‘ .strip_tags($email). “\r\n”;
$headers = “MIME-Version: 1.0” . “\r\n”;
$headers .= “Content-type:text/html;charset=UTF-8” . “\r\n”;
$subject = ‘Tour Request!’;
$to = ‘[email protected]’;
$body = “$cont\n”;
mail ($to, $subject, $body, $headers);
//$emailSent = true;
if ($emailSent = true)
{
echo “Thank you..!”;
} else {
if ($emailSent != true) {
if (!empty($error)) echo $error;
} else
{
}
}
}
?>