<html>
<head>
<title>Local 54 Member Forum</title>
<?php
$name=$_POST['name'];
$comment=$_POST['comment'];
$comment = $name."\t".$comment
$fp = fopen("D:/hshome/C239198/local54memberforum.com/comment.txt", 'ab');
flock($fp, LOCK_EX);
if (!$fp) {
echo "<p><strong> Your order could not be processed at this time.</strong></p></html>;
exit;
}
fwrite($fp, $outputstring, strlen($outputstring));
flock($fp, LOCK_UN);
fclose($fp);
echo <p>Submitted</p>
?>
</body>
</html>
Here is the modified code, I still get the error...
Parse error: syntax error, unexpected T_VARIABLE in d:\hshome\c239198\local54memberforum.com\submitcomment.php on line 8