Re: HTML filtering

From: Date: Fri, 25 Oct 2002 21:17:11 +0000
Subject: Re: HTML filtering
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-121482@lists.php.net to get a copy of this message
tony@tabzilla.com wrote: > > I have a problem, I need to filter HTML from data but want to preserve the > <br> tags in it, is there any function that allows this? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Doesn't get any simpler... string strip_tags ( string str [, string allowable_tags]) Beers, Rob. -- .-----------------. | Robert Cummings | :-----------------`----------------------------. | Webdeployer - Chief PHP and Java Programmer | :----------------------------------------------: | Mail : mailto:robert.cummings@webmotion.com | | Phone : (613) 731-4046 x.109 | :----------------------------------------------: | Website : http://www.webmotion.com | | Fax : (613) 260-9545 | `----------------------------------------------'

« previous php.general (#121482) next »