PHP - List all days in a month in a year
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://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, but I'm getting a hang of it. However, I'm trying to achive some new things every new and then. How would 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 exampels on how i should do this? I should also be able to see the name of the date. Example "21 May - Monday " and list all days and months until 2013.</p>
