I'm close to finishing a script but I can't seem to be able to work the str_replace.
Anyways here is my code:
/*Begin Guestbook*/
$seperate ="
";
[b]$comments2 = str_replace($comments "\n"
);[/b]
$end ="
";
$data = "entry.gh";
$file = fopen($data, "a+");
fputs($file, ""); //Form Fields
fclose($file);
echo ("Thank You For Signing Our Guestbook"); //Thank You Message
/*End GuestBook*/
?>
What am I doing wrong?