Contact
if(isset($_REQUEST['Submit'])&& isset($_POST['Name']) && isset($_POST['Email']))
{
$name= $_POST['Name'];
$email= $_POST['Email'];
$phone= $_POST['Phone'];
$message=$_POST['Message'];
$to = 'livingwithmuzic@gmail.com';
$subject = "Query from Contact Us page of website";
$message = "
Information sent by the User:
Full Name: $name
Email: $email
Phone: $phone
Message: $message";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: no-reply@upmanyubhanot.com\r\n";
$sendmail = mail($to, $subject, $message,$headers);
}
?>
Contact