PHP how to remove the html tags(<DIV></DIV>,<P></P>,<SAPAN></SAPAN>) from the string
Posted
by Dam
on Stack Overflow
See other posts from Stack Overflow
or by Dam
Published on 2010-03-25T07:05:51Z
Indexed on
2010/03/25
7:13 UTC
Read the original article
Hit count: 219
php
Hi frns,
Am using the strip_tags() to remove the HTML tags from one content . but i wants to remove the html (<DIV></DIV>,<P></P>,<SAPAN></SAPAN>
) tags apart from the <img>
tag and <a>
, i don't want to remove the <img ><a>
tag from that . but need to remove other all html tags from that content how can i do help me.
thanks
© Stack Overflow or respective owner