title: PHP - List all days in a month in a year
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3207749/i-have-2-dates-in-php-how-can-i-run-a-foreach-loop-to-go-through-all-of-those-d">I have 2 dates in PHP, how can I run a foreach loop to go through all of those days?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm new to PHP. How can I be able to list all days in a year? (or from a given date?)</p>
  
  <p>What I would like to do is generate a form with all the days in a month, so I can fill in a budget. And it should end by the end of the year, but it should be able to start from a random date.</p>
  
  <p>Any examples on how I should do this? I should also be able to see the name of the date. Example "<strong>21 May - Monday </strong>" and list all days and months until 2013.</p>