At 06.05.01  12:00, you wrote:
>Alright I have a simple file writing script. Nothing special. in one
>part I use this code:
>     $data[$x] = str_replace("<br>","\n", $data[$x]);
>to replace break tags with page breaks. Problem is that for some
>reason it is adding wierd <br  /> tags to the file. It only does this
>on that server. What is that?
why donīt you use $data[$x]=nl2br($data[$x]);
smart n easy
HTH Oliver


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to