[thelist] simple PHP problem
George
chaos_creates at yahoo.com
Thu Oct 5 21:17:14 CDT 2000
--- Jason Morehead <jmorehead at alphalincoln.com> wrote:
> echo eregi_replace("\r\n\r", "\r</p>\n\n<p>\r",
> $field);
>
> replace $field with the name of database field that
> contains the text
> you're outputting to the browser. you don't need to
> use the specific
> parameters i've set... i set those more because i
> like my code
> formatted in a certain way. in other words, i'm
> anal.
This is even better than nl2br() thanx so much.
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
More information about the thelist
mailing list