combining strip_tags and mysql_real_escape_string in php when form submission
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1220182/does-mysql-real-escape-string-fully-protect-against-sql-injection">Does mysql_real_escape_string() FULLY protect against SQL injection?</a>  </p>
</blockquote>



<p>In my page I created a form and what I want to do is when posting the field value in php coding I want to use both the <code>strip_tags</code> and <code>mysql_real_escap_string</code> as :</p>

<pre><code>$res = stript_tags(mysql_real_escape_string($_POST['name']));
</code></pre>

<p>Is the above coding correct for secure submission of input field names or it creates any problem when submission.</p>
