sir ,
please correct it
<?php
$d7=$_POST['D7'];
$name=$_POST['name'];
$email=$_POST['email'];
$place=$_POST['place'];
$phone=$_POST['phoneno'];
$address=$_POST['address'];
$comments=$_POST['message'];
$d8=$_POST['d8'];
$subject = "Get A membership ";
$txt = "<html><head><title>pramod</title></head>
<body>
name :".$d7.$name."
email:".$email. "
place:".$place. "
phone:".$phone. "
address:".$address. "
comments:".$comments. "
course:".$d8.$course."
</body></html>";
$headers = "From: " . "$name" . "<" . "
[email protected]" . ">\n";
$headers .= "User-Agent: Mail/1.0.0\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "X-Sender: <" . "$to" . ">\n";
$headers .= "Return-Path: <" . "to" . ">\n";
$headers .= "Error-To: <" . "to" . ">\n";
$headers .= "Content-Type: text/html;charset=utf-8\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$headers .= "X-Priority: 3 (Normal)\n";
$headers .= "Importance: Normal\n";
//$to = "
[email protected]";
$subject = "My subject";
$subject02 = "my cv";
if ($course=$_POST['animation']);
{$to="
[email protected]";
mail($to,$subject02,$txt,$headers);}
else {
if {$course=$_POST['hardware']);
$to="
[email protected]";
mail($to,$subject,$txt,$headers);}
else {
if ($course=$_POST['business']);
$to="
[email protected]";
mail($to,$subject,$txt,$headers);}
?>