[PHP-WIN] Re: problem with stripslashes(nl2br($body)) - help please!

2001-07-12 Thread Brett Taylor
for anyone who cares, someone else told me: $body = str_replace("\r","",str_replace("\n","",nl2br($body))); $line = stripslashes($heading."|".$userno."|".time()."|".$body)."\n"; fwrite($

[PHP-WIN] Re: problem with stripslashes(nl2br($body)) - help please!

2001-07-12 Thread Brett Taylor
oops, forgot this line > // problem area begins here > $body = nl2br($body); > $line = $heading.'|'.$userno.'|'.time().'|'.$body; $line = stripslashes($line); > $line = $line."\n" ; > // end problem area -- PHP Windows Mailing List (http://www.php.net/) To u

[PHP-WIN] problem with stripslashes(nl2br($body)) - help please!

2001-07-12 Thread Brett Taylor
75200|newsonmultiplelines but it's outputting: freaking errors|0|994975909|i\'m not liking the error at all...freaking errors|0|994975848|i\'m not liking the errorBacon, Lettuce and Tamarillo|0|99468|rest of file is on this line I'm running PHP 4.0.6 on win98 from Omn