An interesting issue about mysql_real_escpae_string
<p>I have simple form for editting site content:
- a text input for title
- a textarea for content</p>

<p>When adding content, there is no problem, allthings add normally:</p>

<pre><code>$chead      = mysql_real_escape_string(stripslashes($_POST['chead']));
$ctext      = mysql_real_escape_string(stripslashes($_POST['ctext']));
</code></pre>

<p>But when edittig the article that containig the </p>

<pre><code>$chead = 'sdsfsf' "sdgsdgs"ggdsfsdg
</code></pre>

<p>The $chead = 'sdsfsf' 
and the <code>"sdgsdgs"ggdsfsdg</code> will be lost!!!
What is the problem with <code>mysql_real_escpae_string</code>?
Thanks</p>
