why mysql_real_escape_string is changing my url
<p>if data is </p>

<pre><code>    $data = '&lt;a href="http://www.abc.com"&gt;my Anchor&lt;/a&gt;
</code></pre>

<p>this function </p>

<pre><code>    $res = get_magic_quotes_gpc() ? stripslashes($data) : $data;
    $res = mysql_real_escape_string($res); // php 4.3 and higher                
</code></pre>

<p>Convert it to</p>

<pre><code>    &lt;a href="\"http://www.abc.com""&gt;my Anchor&lt;/a&gt;
</code></pre>

<p>why</p>
