title: datetime field won't update in MySQL Database
body: <p>Hi I am having an issue with updating a users last login time in my database, if I set it to update a different column it works perfectly, but it just does not work when i try to update the specific column "lastlogin".</p>
  
  <p>My code:</p>
  
  <pre><code>    @mysql_query("UPDATE my_users SET lastlogin=NOW() WHERE id=".$_SESSION["id"]);
  
  My DB column:
  
  column name: lastlogin
  
  type: datetime
  
  Null: No
  
  Default: 0000-00-00 00:00:00
  </code></pre>
  
  <p>Anything wrong with the way the column is setup in the DB? Like I mentioned above if I was to tell it to put NOW() in another column it works fine.</p>