title: mysqli update the date not working
body: <p>I need to update the date and it just don't work, I'm getting sick of this crap!
  I tryed:</p>
  
  <pre><code>mysqli_query($con, "UPDATE nachrichten SET update = CURDATE() WHERE file = '$msgfile'");
  mysqli_query($con, "UPDATE nachrichten SET update = 'CURDATE()' WHERE file = '$msgfile'");
  mysqli_query($con, "UPDATE nachrichten SET update = '2014-09-11'  WHERE file = '$msgfile'");
  mysqli_query($con, "UPDATE nachrichten SET update = 2014-09-11  WHERE file = '$msgfile'");
  </code></pre>
  
  <p>And much more NON of this s*** is working whats the problem with that? The field type is date and the connection etc works fine I tested other field updates but only the date BS isn't working it's always 0000-00-00</p>