<form method="POST" action="sendmail.php" name="Contact Form" id = "Contact Form">
<p>
<label>Name :
<input name="Name" type="text" id="Name" size="20" maxlength="50"/>
</label><br /><br />
<label>Email :
<input name="Email" type="text" id="Email" size="20" maxlength="50" />
</label><br /><br />
<label>Contact Number :
<input name="Contact" type="text" id="Contact" size="10" maxlength="15" />
<br />
</label>
</p>
<p>
<label>Your Enquiry : <br />
<textarea name="enquiry" id="enquiry" cols="21" rows="5"></textarea>
</label>
</p>
<p>
<label>
<input type="submit" name="submit" id="submit" value="Submit"/>
</label>
</p>
</form>
<?php
$to = "*";
$name = $_REQUEST['Name'] ;
$email = $_REQUEST['Email'] ;
$contact = $_REQUEST['Contact'] ;
$enquiry = $_REQUEST['enquiry'] ;
$body = "From: $name\n E-Mail: $email\n Contact: $contact\n Message:\n $enquiry";
mail( $to, "Panthon Website Contact Form", $body, "From: $Email" );
exit;
?>
<br />
<p>Thank you for your email. Please click <a href="../index.html">here</a> to return to the homepage if you are not automatically redirected.</p>