Populate date intervals (need help!)

Hi,
I need to populate and print the date intervals of two dates.

Example:
$date1 = “07/11/2009”;
$date2 = “06/11/2010”;

Output should be:

    07/11/2009
    08/11/2009
    09/11/2009
    10/11/2009
    11/11/2009
    12/11/2009
    01/11/2010
    02/11/2010
    03/11/2010
    04/11/2010
    05/11/2010
    06/11/2010

What function should I use? Can mysql do the interval or difference between dates? If so, how can I print it using php?

I’ve been googling this for hours but never found out the solution. Im a newbie to php.
I really need this badly. If any script is available, that would be good. Thank you…