title: select date mysql
body: <p>I have a date in this format: <code>$originalDate = '2011-05-19T15:39:06Z'</code></p>
  
  <p>I store it in a <code>datetime</code> <code>mysql</code> field. 
  In phpMyAdmin the date is displayed in this format:<code>2011-05-19 15:39:06</code></p>
  
  <p>Now I want to select all mysql entries <code>WHERE date = $originalDate</code>
  But nothing is selected.</p>
  
  <p>How do I do this?</p>
  
  <p>cheers,
  Joerg</p>