PHP How to I make my textinput accept single quote or Double quotes
<p>How do I make my textinput accept apostrophe or double quotes?</p>

<p>Everytime a user type's in this one: John's Birthday, I store this one in the database using mysql_real_escape_string().</p>

<p>What I wanted to do in here is to retrieve it in my text input.
I tried this one</p>

<pre><code>&lt;input type='text' name='title' value='&lt;?php echo $values-&gt;title; ?&gt;' /&gt;
</code></pre>

<p>The problem here is it removes the single quote and the letters that comes after the quote. 
I tried to changed the <code>value= ''</code> from <code>value=""</code> but what if a user types a word that has example this one:
"You and Me". The problem is still in there.</p>

<p>I was thinking to use str_replace in doing this one and replace the ' into `, but again I was thinking that maybe there's an easy way to do it.</p>

<p>Any help would be greatly appreciated.</p>

<p>Thanks!</p>
