".' Contact No '. $_POST['telephone'].' Company '.$_POST['company'].' E-Mail ID '. $_POST['email'].' Address '. $_POST['area'].' Distributor Area '.$_POST['area1'].' Want to be Distributor '.$_POST['dist'].' Query '.$_POST['qury']; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'Bcc: atul@o3plus.com' . "\r\n"; $headers .= "From: $from"; if(($_POST['name']!='') && ($_POST['telephone']!='') && ($_POST('company')) && ($_POST['email']!='') && ($_POST['area']!='') && ($_POST('dist')) && ($_POST('qury'))) { $result=mail($to, $subject, $message, $headers); if($result) {echo "Your request has been successfully posted. You will be contacted as soon as possible";} else { echo "Some error has occurred. Please try again later.";} } header("location: index.php"); ?>