I want to add another years worth of dates automatically.
I can grab the last date in the the table
Code: Select all
$query="SELECT date from sundayrota order by date desc";
$result=mysql_query($query);
$lastdate=mysql_fetch_assoc($result);What do I do to make it in a form that I can iterate adding 7 days to it 52 times and inserting it back in!
Can you help please