title: Select where date falls within range
body: <p>Codeigniter/PHP:</p>
  
  <p>This is my current db query:</p>
  
  <pre><code>$pass_check = $this-&gt;CI-&gt;db-&gt;select('code')-&gt;from('coupons')-&gt;where(array('title'=&gt;'Booyah'))-&gt;get();
  $pass_check = $pass_check-&gt;result_array();
  </code></pre>
  
  <p>There are two other fields: 'exp_date', and 'start_date'. These represent when the coupon should be available and when it should not.</p>
  
  <p>How can I only select codes/coupons that fall within the applicable date range in the db?</p>
  
  <p>Does that make sense?</p>