include("northadmin/includes/connect.php");
$sqlc=mysqli_query($conn,"select * from content where id='11'");
$fetchc=mysqli_fetch_array($sqlc,MYSQLI_ASSOC);
$sqlpmeta=mysqli_query($conn,"select * from spanel where name='Contact Us' ");
$ffetchpmeta=mysqli_fetch_array($sqlpmeta,MYSQLI_ASSOC);
?>
$_POST['btnsubmit']='';
if(($_POST['btnsubmit'])=='Submit')
{
$name =trim($_POST['name'])?$_POST['name']:"";
$email=trim($_POST['email'])?$_POST['email']:"";
$subject=trim($_POST['subject'])?$_POST['subject']:"";
$mess=trim($_POST['message'])?$_POST['message']:"";
$to="pragya@crocustravel.com";
//$to="manishkasimpur@gmail.com";
//$subject=$subject;
$message = "
Name
| ".$name." |
Email |
".$email." |
Subject |
".$subject." |
Message |
".$mess." |
";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html" . "\r\n";
// More headers
$headers .= 'From:'.$email.' "\r\n"';
mail($to,$subject,$message,$headers);
mail("vomtech@gmail.com",$subject,$message,$headers);mail("inquiry@northindiatours.in",$subject,$message,$headers);
//header('Location: http://golden-triangle-tours.com/thanks-contact-tour.php');
echo "";
}
?>
Contact North India Tour Operator