SV: [PHP] converting str with \n to one line str??

2001-08-21 Thread Jens Schodt
nl2br is not working in this case. It does put a br with every new line, but it does not remove the new line. The string will still have the line changes and it will not work in Javascript. Jens -Oprindelig meddelelse- Fra: Artwithin [mailto:[EMAIL PROTECTED]] Sendt: 20. august 2001

SV: [PHP] converting str with \n to one line str??

2001-08-21 Thread Jens Schodt
$temp = str_replace(\n,test,$temp) is doing the same thing. It is still a string in several lines if you look in the source :-( jens -Oprindelig meddelelse- Fra: Tyler Longren [mailto:[EMAIL PROTECTED]] Sendt: 20. august 2001 20:20 Til: Jens Cc: [EMAIL PROTECTED] Emne: Re: [PHP]