Hello everyone, 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...
I'm afraid my regex is dreadfull so I just hoped someone might have already done it and be willing to share. ;-) Many thanks... -- Nick WIlson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php