Right. Just a question of syntax, really. I've modified a script that somebody made for me years ago -- to send mail from a form. I'm trying to modify it to send HTML email and am fairly successful. But if I use the below code, I only get my first header. If I remove the ; then I get an error. 
Relevant code:
Stripheaders just does this:
Please don't hurt me. I really don't know any PHP nor am I much of a programmer!! Many thanks in advance!

Relevant code:
PHP:
$message = '<html>
<head>
<title>Gobo Web Form</title>
</head>
<body>
<h2>Name:</h2>
<p>'.stripHeaders(trim($_POST['name']));'</p>
<h2>Company:</h2>
<p>'.stripHeaders(trim($_POST['company']));'</p>
</body>
</html>';
PHP:
function stripHeaders($string) {
return preg_replace('#(content-type:|to:|cc:|bcc:)#i', '', $string);
}
Please don't hurt me. I really don't know any PHP nor am I much of a programmer!! Many thanks in advance!
