title: Prevent Double Quotes from being stripped
body: <p>What's the best way to display a person's height with feet and inches as a string and also prevent sql injection as well as ensure proper input format? Ideally, I'd like to display it like 5'11" as an example.</p>
  
  <pre><code>$height = $_POST['height'];
  $height = stripslashes($height);
  </code></pre>
  
  <p>The problem with this is, although in MySQL its stored as 5'11", when it outputs on the page it displays it as 5'11 without the double quote at the end.</p>
  
  <p>Is there a better way to do this? I am also considering trying to separate the height into two separate textfield inputs, one for feet and one for inches.. then combining the two to display as one.</p>
  
  <p>Suggestions? </p>