Re: remove html tags in text?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



strip_tags

On 11/05/06, Bing Du <bdu@xxxxxxxxxxx> 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!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux