how to replace a string in php
<p>i want to replace '&lt;' and '>' sign in string. 
e.g</p>

<pre>$str = 'if x&lty and y&gtz';
echo str_replace( '&lt', 'something', $str ) . "\n";</pre>

<p>this give the following result</p>

<pre>if xsomethingy and y>z</pre>

<p>my question is how can i replace '>' to text 'something'</p>
