I am stuck. This mail form I made in PHP doesn't work when as far as I can see, it should. The code is:
And this is the error I get:
Also, any other problems you can see would be helpful. Thanks people, will7.
PHP:
<?php
$to="[email protected]";
$subj="FusionCre8 Contact Form";
$msg="Name: ".$_POST['fname']." \r \n E-Mail Address: ".$_POST['email']." \r \n Query Type:
".$_POST['qtype']." \r \n Message: ".$_POST['msg']." \r \n;
if(mail($to, $sunj, $msg))
{
header( "thanks.htm" );
} else {
header( "notsent.htm" );
}
?>
And this is the error I get:
Parse error: parse error, unexpected T_STRING in C:\Abyss Web Server\htdocs\fusioncre8\contmail.php on line 8
Also, any other problems you can see would be helpful. Thanks people, will7.












