Re: nl2br() Function for Paragraphs?

From: Date: Wed, 11 Jun 2003 21:06:35 +0000
Subject: Re: nl2br() Function for Paragraphs?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-151147@lists.php.net to get a copy of this message
* and then John S. Huggins declared.... > >-Has anyone written a function that does what nl2br() does but wraps text > >-in a <p></p>'s instead? I'm a bit of a clean html type and nl2br() > >just > >-leaves me wishing there was a better way... > > Several examples appear in the user comments section of: > > http://us2.php.net/manual/en/function.nl2br.php Bad, bad Wilson! I never really think to look there, thanks very much I'll check it out right now! -- Nick WIlson

« previous php.general (#151147) next »