RE: remove html tags in text?

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

 



> 
> 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>?
> 

Sounds like a job for.....


http://us2.php.net/strip_tags

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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