alert('Enquiry Submited, We will contact you soon');
window.location='index.html';
";
}
else {
echo "";
}
}
if(isset($_POST['contact_submit'])) {
$name=$_POST['name'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$message=$_POST['message'];
//$to = $row_about['email'];
$to = "enquiry@moontourandtravels.in.net";
$subject = "Enquiry From Moon Tour and Travels";
$txt = "Name: ".$name."\r\n" ."Mobile No.: ".$phone ."\r\n" . "Email ID : ".$email."\r\n" ."Message : ".$message;
$headers = "From: enquiry@moontourandtravels.in.net";// .$email;
if(mail($to,$subject,$txt,$headers)) {
echo "";
}
else {
echo "";
}
}
?>