“;print_r($_POST);exit;
$to = ‘rockonittest01@gmail.com’;

// $to = ‘kapil.arrowbit@gmail.com’;
$fromEMail = $_POST[’email’];
$subject = ”;
$msg = “

Contact Us | xtremefrozenyogurt



Hi admin, User has submitted a following query:


Name:



$_POST[name]



Email:



$_POST[email]


Phone Number:



$_POST[phonenumber]


“;

// Make sure to escape quotes

$headers = ‘MIME-Version: 1.0’ . “\r\n”;
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;
$headers .= ‘From: Xtreme Frozen Yogurt noreply@xtremefrozenyogurt.com’ . “\r\n”;$mail = mail($to, $subject, $msg, $headers);

if($mail){
header(‘location:http://xtremefrozenyogurt.com?msg=true#homepageceleb’);

?>