Re: remove html tags in text?
| From: | Joe Henry | Date: | Thu, 11 May 2006 16:03:02 +0000 |
| Subject: | Re: remove html tags in text? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235993@lists.php.net to get a copy of this message | ||
On Thursday 11 May 2006 9:51 am, Bing Du wrote:
> Any functions that can help remove all the HTML tags in it? What about
> just removing selected tags, like <b></b>?
Looks like strip_tags() will do the trick for you:
http://us3.php.net/manual/en/function.strip-tags.php
--
Joe Henry
www.celebrityaccess.com
jhenry@celebrityaccess.com