<[EMAIL PROTECTED]>
Marek Kilimajer:
> The space is there so it does not break some old browsers which could
> thing it is "BR/" tag (yes, it does not exists). Change your logic or
>   do preg_replace(array("\r\n","\n","\r"), '<br>', $string) instead -
> not
> tested
Why not use str_replace instead of preg_replace?

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

Reply via email to