title: Update all rows in MySQL where DATETIME has passed
body: <p>What I'm trying to achieve is a scheduled release for articles. I need to write a PHP script that changes a (MySQL) field on every row where a DATETIME column value has passed. </p>
  
  <p>For example: I have a column named <code>release</code> that is the type of <code>DATETIME</code>. Say the <code>release</code> on row X is <code>2017-03-10 21:48:52</code>. The time now is <code>2017-03-10 22:01:34</code>. That means the time on the field <code>release</code> on row X has passed. That means I wish to update a field on this row.</p>
  
  <p>How can I create a <code>WHERE</code> statement that finds every row with a passed time.</p>
  
  <p>I think this should be very simple but after a while of searching I couldn't find an answer that would work for me.</p>