[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($output,$line); cheers to GuruBob for helping me with this one :) "Brett Taylor" <[EMA

[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