HI All,
I spent an age trying to find the syntax for this, googled everywhere and all sorts.
It seems PHP5 now has a class....but my site was on PHP4.x
I'm posting this so no one else has to spend time on this issue or get lumberd with a shed load of code. Here it is nice and simple.
<?php
$datevar = strtotime("2007-07-31");
print date( 'd/m/Y', $datevar )."<br>";
for ($i=1;$i<=5;$i++){
$datevar = strtotime("+1 day", $datevar);
print date( 'd/m/Y', $datevar )."<br>";
}
?>
Best regards
RichFM