When I create a guestbook, I use:
<?php
$fp=fopen("guestbook.log", "w");
fputs($fp, "Name: $name\n");
fputs($fp, "Website: $website\n");
fputs($fp, "Location: $location\n");
fputs($fp, "Comments: $comments\n");
fputs($fp, "------------------\n");
fclose($fp);
?>
but when I have that code, I get:
Parse error: parse error in /home/stevenc/public_html on line 5
What's happening??
-Steven