$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] con
nl2br is not working in this case. It does put a 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 20:09
2 matches
Mail list logo