title: How can I include a colon in a prepared statement?
body: <p>I've got the following query which works great when pasted into an SQL client but doesn't work when I'm executing it through PDO.</p>
  
  <pre><code>INSERT INTO mdt_order (`id`,`reference`,`customer_id`,`order_datetime`)
  VALUES (NULL,'786d98e7','1960','2011-03-25 08:59:34')
  </code></pre>
  
  <p>I'm pretty sure it's the <code>:</code>'s in the date that are messing it up. The <code>order_datetime</code> field actually gets set to <code>2011-03-25 08??</code></p>
  
  <p><strong>How can I include colons in my PDO queries?</strong></p>