richcleverley
MIS
Hi,
I have two variables; $fromdate and $todate.
I need to find all the dates for that range to check against a database table. So for example, I have $fromdate 26/9/2005 and $todate 4/10/2005, I need to get all the dates inbetween those two (I have put them in UK format dd/mm/yyyy in case anyone wonders).
How would I do this? I know that I want to hold them in an array to do the check afterwards, but am not too sure how to go about it in the first place.
Thanks
Richard
I have two variables; $fromdate and $todate.
I need to find all the dates for that range to check against a database table. So for example, I have $fromdate 26/9/2005 and $todate 4/10/2005, I need to get all the dates inbetween those two (I have put them in UK format dd/mm/yyyy in case anyone wonders).
How would I do this? I know that I want to hold them in an array to do the check afterwards, but am not too sure how to go about it in the first place.
Thanks
Richard