HTML formatted email does not display correctly
<p>I'm still struggling with this mail script - I'm now getting all the marked up html through rather than seeing it as rendered html if that makes sense?</p>

<pre><code>&lt;?php
$mailheader .= "MIME-Version: 1.0\r\n";
$mailHeader .= "Content-type: text/html; charset=iso-8859-1\r\n";
$formcontent .="&lt;table border='1'&gt;";
foreach ($_POST as $field=&gt;$value)
{
    $formcontent.="&lt;tr&gt;";
    $formcontent .= "&lt;td&gt;$field:&lt;/td&gt; &lt;td&gt;$value&lt;/td&gt;";
    $formcontent.="&lt;/tr&gt;";
}
$formcontent .= '&lt;tr&gt;&lt;td&gt;User-Agent: &lt;/td&gt;&lt;td&gt;'.$_SERVER['HTTP_USER_AGENT'].'&lt;/td&gt;';
$formcontent .="&lt;/table&gt;";


$recipient = "info@*******.com";
$subject = "Event feedback form";
$mailheader = "From: web.form@*******-events.co.uk\r\n";
$mailheader .= "Reply-To: $email\r\n";
$mailHeader .= "Content-type: text/html; charset=iso-8859-1\r\n";


mail($recipient, $subject, $formcontent, $mailheader) or die("Failure!");
header("location:http://www.******-events.co.uk");
?&gt;
</code></pre>
