title: query with single quote shown as empty
body: <p>I have a form, that when you select a drop down of articles, the textbox is filled in with what you selected. Now it's working perfectly fine, except for when there's a 'single quote' in the article name.</p>
  
  <p>I have a function for escaping the quotes by placing backslashes in front of them, which it does...</p>
  
  <p>Now the Query produced is as follows:_</p>
  
  <pre><code>SELECT * FROM blogs WHERE title='MySQL \'Inject' AND series='iOS Game Dev.' AND language='iOS' LIMIT 1
  </code></pre>
  
  <p>And I have a function which makes an object of the article and sets values of everything according to the row selected. When I display the array made by the function which runs the query it gives this..</p>
  
  <pre><code>Blog Object
  (
   [id] =&gt; 
   [title] =&gt; 
   [publish_date] =&gt; 
   [author] =&gt; 
   [language] =&gt; 
   [series] =&gt; 
   [likes] =&gt; 
   [content] =&gt; 
   [position] =&gt; 
   [status] =&gt; 
   [last_updated] =&gt; 
  ) 
  </code></pre>
  
  <p>It works if there isn't a single quote in the article name, but it doesn't fill the textbox because the array is empty.</p>
  
  <p>More over the value stored in the database for the title is MySQL \'Inject . So I really don't get why it's doning this, I even tried run the query in MySQL Workbench and it returned nothing. So it's not a problem in my code I'm pretty sure.   </p>