Hi All,

I was wondering how would I go about setting up a loop of all dates within a range so I could then check if they match my database record.

I have these variables:
PHP Code:
$the_start date('Y-m-d H:i:s'$_REQUEST['start']);
$the_end date('Y-m-d H:i:s'$_REQUEST['end']); 
I need to somehow look though every date between these dates and check each one and cross reference each date's date("w") with a field in my database, if it matches then I print a record.

The idea is I have a month range from the $the_start to $the_end and I am trying to get a print out of say, each thursday. It's for reocurring events in a calendar.

Is there an easy way to create this loop?