title: Loop through dates with PHP
body: <p>I am trying to loop through dates with PHP. Currently my code gets stuck in a loop repeating 110307. I need the date format to be in yymmdd. Here is what I was trying to use:</p>
  
  <pre><code>&lt;?php
      $check_date = '100227';
      $end_date = '100324';
  
      while($check_date != $end_date){
          $check_date = date("ymd", strtotime("+1 day", strtotime($check_date)));
          echo $check_date . '&lt;br&gt;';  
      }
  ?&gt;
  </code></pre>