Possible Duplicates:
PHP Day iterator
I have 2 dates in PHP, how can I run a foreach loop to go through all of those days?
I want to create a loop which creates records for each day from today to one year later.
There is no input for dates. From date which the form is submitted to the day 1 year after.
How can i do that ?
For example today when i submit the form today, i need a loop from 17/01/2011 to 17/01/2012