title: mysql_real_escape() w/ trim() w/ stripslashes() - is this sensible?
body: <p>This might be a really stupid and self-answering question: I am stripping down my submissions like so (but need to submit to my table and also echo out the data to the screen):</p>
  
  <pre><code>$num_of_badges = stripslashes(trim(mysql_real_escape_string($_POST['num_of_badges'])));
  </code></pre>
  
  <p>Of course the data is passed, but does the <code>stripslashes()``** here defeat the purpose of</code>mysql_real_escape()`?</p>
  
  <p>So: Bill's becomes Bills in the table and echo on the screen.</p>