aaaaaaaaaaaaaa

Please fill the form below, and we will get back to you at the earliest.

if($_REQUEST[‘submit’])
{
$name=$_REQUEST[‘name’];
$email=$_REQUEST[’email’];
$enquiry=$_REQUEST[‘enquiry’];
$cname=$_REQUEST[‘cname’];
$address=$_REQUEST[‘address’];
$telephone=$_REQUEST[‘telephone’];
$email=$_REQUEST[’email’];
$message=$_REQUEST[‘message’];
$post_date=date(“Y-m-d”);
$sql=”insert into contact_us (name,email,enquiry,company_name,address,telephone,message,post_date) values (‘$name’,’$email’,’$enquiry’,’$cname’,’$address’,’$telephone’,’$message’,’$post_date’)”;
$result=mysql_query($sql);

//sent mail for admin
$admin_msg = ““;
$admin_msg = $admin_msg .= “Message : $message
“;
$admin_msg = $admin_msg .= “Sender Details are :
“;
$admin_msg = $admin_msg .= “Name : $name
“;
$admin_msg = $admin_msg .= “Email : $email
“;
$admin_msg = $admin_msg .= “Enquiry : $enquiry
“;
$admin_msg = $admin_msg .= “Address : $address
“;
$admin_msg = $admin_msg .= “Company Name : $cname
“;
$admin_msg = $admin_msg .= “Telephone : $telephone
“;
$admin_msg = $admin_msg .= “
“;

$to = ‘anilyadavinbox@gmail.com’;

$subject = “New Enquiry”;
$headers = ‘MIME-Version: 1.0’ . “\r\n”;
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;
$headers .= ‘From: Satec Website Enquiry’;
if(mail($to, $subject, $admin_msg, $headers))
{
$_SESSION[‘succmsg’]=”

Your message sent successfully

“;
}
else
{
$_SESSION[‘succmsg’]=”

Your message could not sent successfully

“;
}

}
?>

Name *

Email *

Enquiry for *

Company Name *

Address *

Telephone *

Message *