title: php if statement to check if current datetime is between 2 datetime columns
body: <p>PostQopen and PostQClose are datetime columns.
  I need a php if statement to check if the current datetime is between the PostQopen and PostQClose columns. </p>
  
  <pre><code>$now = date('Y-m-d H:i:s');
  
  if($rows['PostQopen'] &gt;= '$now' &amp;&amp; $rows['PostQClose'] &lt; '$now' ){
  
  echo "TRUE";
  
  } else { 
  
  echo "FALSE";
  
  };
  </code></pre>