title: Given a date, how can I generate a dropdown list containing subsequent dates?
body: <p>I have created a form for a user to request a lesson. Each individual record will be added to the table on form submit, however I don't know how I can automatically generate options in a select box for dates. Ideally, I'd like the select box to generate dates for 10 days, in 2 days from the current date. </p>
  
  <p>For instance, today is 23rd, the first option available would be dated 2013-05-25. Nine additional options would be added for the following nine days.</p>
  
  <pre><code>&lt;select name="day1"&gt;
      &lt;option value="2013-05-25"&gt;Sat, 25th May 2013&lt;/option&gt;
      &lt;option value="2013-05-26"&gt;Sun, 26th May 2013&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I was wondering how I could quickly generate these into options on a select box?</p>