filter out dates that have already passed
<p>Need some help here.  I am nearly done, but stuck on how to filter out dates in the past.  For example, I dont want dates from yesterday to appear as an otpion.  Below is my code so far.</p>

<pre><code> &lt;select name="choose_date" id="choose_date"&gt;
 &lt;?php
    if (isset($datesavailable) &amp;&amp; is_array($datesavailable))
    {
      foreach($datesavailable as $val)
      {
        rsort($val);
        echo' &lt;option value="'.$val.'"&gt;'.$val.'&lt;/option&gt;\n';
      }
    }
  ?&gt;
  &lt;/select&gt;
</code></pre>

<p>Thanks for your time in advance. </p>
