<new-more-constructive-way-of-saying-RTFM with-thanks-to="Richard Lynch">

obviously by now you know the function strip_tags().

given that your a university student don't you think we
could expect a little more research ability on your part?

I already knew the strip_tags() function but for fun I typed
in an arbitrary search into google and look what popped up
at position number one:

http://www.google.com/search?&q=remove+tags+from+string+php

attempting to solve your own problems before asking others
for a solution is good for you both because it makes you more
credible to those that might answer your question AND it will
increase *your* understanding of the problem and solution - in
short solving your own problems (or really trying to) will make
you a better programmer.

not to mention the satisfaction of doing it on your own.

<new-more-constructive-way-of-saying-RTFM>

:-)

Bing Du 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

Reply via email to