File: //home/vgijpbeijziw/public_html/ARTOFLIVINGDELHI.ORG/submit1.php
<?php
$name = $_REQUEST['name'];
$phone = $_REQUEST['phone'];
$email = $_REQUEST['email'];
$program = $_REQUEST['program'];
$date = $_REQUEST['date'];
$message = $_REQUEST['message'];
$message ="<table border='0' width='600' align=center cellpadding='2' cellspacing='0'>
<tr>
<td colspan='2'>
<font color='000000'><b>Enquiry </b></font> </td>
</tr>
<tr>
<td colspan=2> </td>
</tr>
<tr>
<td width=38% > <font color='000000' >Name </font> </td>
<td width=62% >$name </td>
</tr>
<tr>
<td >
<font color='000000'>Phone No.</font></td>
<td >$phone </td>
</tr>
<tr>
<td >
<font color='000000'>Email</font></td>
<td >$email </td>
</tr>
<tr>
<td >
<font color='000000'>Have you learnt Sudarshan Kriya</font></td>
<td >$program </td>
</tr>
<tr>
<td >
<font color='000000'>Date</font></td>
<td >$date</td>
</tr>
<tr>
<td ><font color='000000'>Message</font></td>
<td >$message</td>
</tr>
<tr>
<td colspan='2'></td>
</tr>
</table>";
$to ="nitin@artoflivingdelhi.org";
$to.=","."";
$from = $email;
$subject = "Msg From: " . $name ."Query Form(www.artoflivingdelhi.org)";
//$xheaders .= "X-Mailer: PHP\n"; // mailer
$xheaders .= "X-Priority: 6\n"; // Urgent Message!
$xheaders .= "MIME-Version: 1.0\r\n";
//$xheaders .= "Content-Type: text/html; charset=UTF-8\r\n";
$xheaders.= "Content-Type: text/html; charset=iso-8859-1\n";
mail($to, $subject, $message, $xheaders);
header("Location: thank-you.html");
?>