I want to remove HTML code. What is the easiest way to achieve it?
For Example:
$var = '<P> </P>
<P><FONT color=orange>I want </FONT></P>
<P>to remove </P>
<P>tags. <IMG src="http://image.gif/"></P>';
I want to filter everything except of the pure text so I can get $var2 = "I want to remove tags".
Thank you
ALex.