title: Secure input field against mySQL injection
body: <p>I have made an edit form for my users, now when I update it needs to be secure against MySQL injection.</p>
  
  <p>Right now I have this query</p>
  
  <pre><code>$sqledit = mysql_query("UPDATE **** SET titel = '$title', content = '$content' WHERE `ID` = ".mysql_real_escape_string($_POST['ID']),mysql_real_escape_string($_POST['txttitle'])) or die (mysql_error());
  </code></pre>
  
  <p>NOTE: $content is an ckeditor with has build in protection methods against MySQL injection?</p>
  
  <p>Still when I put something like: ééáá",''øøí in txttitle it gives the following error.</p>
  
  <p>mysql_query(): supplied argument is not a valid MySQL-Link resource</p>