Show last 7 days without week-end days (php)
<p>I need to show last seven day  in a select box but  without week end day, in php </p>

<p>my  code </p>

<pre><code> for($time=0; $time&lt;(86400*14); $time+=86400)
{
 ?&gt; &lt;option value="&lt;?php echo $date=date('Y-n-j', time()-$time);?&gt;"&gt;&lt;?php echo        $date=date('n/j', time()-$time);?&gt;&lt;/option&gt;
 &lt;?php

}
 ?&gt;
</code></pre>
