title: Getting months in select box
body: <pre><code>&lt;select name="month" id="month" &gt;
      &lt;option value=""&gt;Select&lt;/option&gt;
      &lt;?php
  
      for ($i = 0; $i &lt; 12;   $i++) {
      $date_str = date('M', strtotime("+ $i months"));
      echo "&lt;option value=$i&gt;".$date_str ."&lt;/option&gt;";
  
      } ?&gt;
      &lt;/select&gt;
  </code></pre>
  
  <p>When I am runnig this code value starting from 0 i want to be start from 1 </p>
  
  <p>for eg : value for January    should be "1" . how is it possible ?</p>