PHP how to remove the html tags(<DIV></DIV>,<P></P>,<SPAN></SPAN>) from the string
- by Dam
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>,<SPAN></SPAN>) 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