if(isset($_POST['submit'])){ $to = 'mail@aryamissionvidyapith.com'; $frm= $_POST["email"]; $subject = 'School Application Request'; $headers = "From: $frm\r\n"; $headers .= "Reply-To: $frm\r\n"; // $headers = "From: " . strip_tags($_POST['req-email']) . "\r\n"; // $headers .= "Reply-To: " . strip_tags($_POST['req-email']) . "\r\n"; // $headers .= "CC: royalsclick01@gmail.com\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; $headers1 = "From: $to\r\n"; $headers1 .= "Reply-To: $to\r\n"; $headers1 .= "MIME-Version: 1.0\r\n"; $headers1 .= "Content-Type: text/html; charset=UTF-8\r\n"; $message = '
| Students details | |
|---|---|
| Candidate Name: | '.$_POST["candidate-name"].' |
| Father Name: | '.$_POST["father-name"].' |
| Mother Name: | '.$_POST["mother-name"].' |
| Guardian Name: | '.$_POST["guardian-name"].' |
| Local Guardian: | '.$_POST["local-guardian"].' |
| Occupation: | '.$_POST["occupation"].' |
| Income: | '.$_POST["income"].' |
| Contact: | '.$_POST["phone"].' |
| DOB: | '.$_POST["dob"].' |
| Per. Address: | '.$_POST["permanent-address"].' |
| Corr. Address: | '.$_POST["correspondence-address"].' |
| Email Id: | '.$_POST["email"].' |
| Payment: | '.$_POST["payment"].' |
| Prev. School Details: | '.$_POST["school-details"].' |
Application Form for Admission to Class I to IX & XI