I'm trying to add days to a date in the past.
I know this adds 30 days to today's date:
$newdate = (date('Y-m-d', strtotime('+ 30 days')));
But let's say I have a date variable:
$pastdate = '2006-05-06';
And now I want to add 30 days to that, so it reads: 2006-06-06.
I'm sure it's an easy thing, but I'm not sure where to look in the php manual for this.
Thanks!