Possible Duplicate:
I have 2 dates in PHP, how can I run a foreach loop to go through all of those days?
I'm new to PHP. How can I be able to list all days in a year? (or from a given date?)
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.
Any examples 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.