On Tue, 2003-11-11 at 14:51, Marek Kilimajer wrote:
> Brian V Bonini wrote:
> > So just change it....
> > 
> > $string = nl2br($content->page_content);
> > $string = eregi_replace("<br />", "<br>", $string);
> > 
> 
> Why not directly
> str_replace(array("\r\n","\r","\n"), '<br>', $content->page_content);

You say tomato I say.... ;-)

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

Reply via email to