I see that it posts the info to the submitter after they hit submit on a new page... however when I receive an e-mail from the submitter it shows up in html like this:
john@doe.com
<body bgcolor="#BFBFBF">
<p align="center"> </p>
<table width="200" border="0" align="center">
<tr>
<td><div align="center" class="style2">Name:</div></td>
<td>john doe</td>
</tr>
<tr>
<td><div align="center" class="style2">Email:</div></td>
<td>test@test.com</td>
</tr>
<tr>
<td> </td>
<td><span class="style3">Comment</td>
</tr>
<tr>
<td height="171"><div align="center" class="style2">Message:</div></td>
<td>nice website</td>
</tr>
</table>
<p align="center"> </p>
**This is the code I am using right now that works...
<?php
//phpScript.php
if(isset($POST['submit'])){
$name=$POST['name'];
$email=$POST['email'];
$d1=$POST['d1'];
$comments= $d1."\n\r".$_POST['message'];
$toaddress = "blah@blah.com";
$subject = "Factored Designs";
$mailheaders .= "From: $name <$EMAIL>\r\n";
$mailheaders .= "Reply-To: $email\r\n";
mail($toaddress, $subject, $comments, $mailheaders);
header("Location: http://www.f-designs.net");
unset($_POST['submit']);
}
?>
**How can I have the form results mailed to me so I receive an e-mail that displays the following to me....
Name:
Email:
Subject (dropdown choice):
Message:
..instead of what is currently displayed when i receive a submitted form..(ex.):
john
factored designs
tutorial request
photoshop tutorial