If have some problems with the nl2br function. It f*cks up my layout.
does anyone know how to create a true nl2br function in stead of a
nl2br-and-nl function.
i.e. I just want everything on one line.

I used:
str_replace("\n", "", nl2br($text));
but I don't like it that much and I don't know if nl2br produces "\r"-s

Greetings,
Gerben
Holland

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to