title: Get date range between two dates excluding weekends
body: <p>Given the following dates:</p>
  
  <pre><code>6/30/2010 - 7/6/2010
  </code></pre>
  
  <p>and a static variable:</p>
  
  <pre><code>$h = 7.5
  </code></pre>
  
  <p>I need to create an array like:</p>
  
  <pre><code>Array ( [2010-06-30] =&gt; 7.5 [2010-07-01] =&gt; 7.5 =&gt; [2010-07-02] =&gt; 7.5 =&gt; [2010-07-05] =&gt; 7.5 =&gt; [2010-07-06] =&gt; 7.5) 
  </code></pre>
  
  <p>Weekend days excluded.</p>
  
  <p>No, it's not homework...for some reason I just can't think straight today.</p>