Re: remove html tags in text?
| From: | Dave Goodchild | Date: | Thu, 11 May 2006 19:08:57 +0000 |
| Subject: | Re: remove html tags in text? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236014@lists.php.net to get a copy of this message | ||
strip_tags
On 11/05/06, Bing Du <bdu@iastate.edu> wrote:
Hello everyone, Say, if I have a paragraph like this: == <h1>John Smith</h1> Dr. Smith is the directory of <a href="http://some.center.com">Some Center</a> . His research interests include <b>Wireless Security</b>.... == Any functions that can help remove all the HTML tags in it? What about just removing selected tags, like <b></b>? Thanks in advance for any ideas, Bing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- http://www.web-buddha.co.uk dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css) look out for project karma, our new venture, coming soon!