title: Why does this properly escaped SQL query fail?
body: <p>Here's the query:</p>
  
  <pre><code>INSERT INTO jobemails (jobid, to, subject, message, headers, datesent) VALUES ('340', 'jrhodes@jhu.edu', 'We\'ve received your request for a photo shoot called \'another\'.', 'message', 'headers', '2010-04-22 15:55:06')
  </code></pre>
  
  <p>The datatypes are all correct, it always fails at the subject, so it must be how I'm escaping the values, I assume. </p>
  
  <p>I'm sure one of you will see my idiot mistake right away. A little help?</p>