I have a dropdown that I want to populate with a date starting from last year going up to 5 years in the future but I want it to update automagically every year with php.
Probably easier if I show what I want to end up with than trying to explain.
This Years dropdown should be
<select>
<option>2012-08-31</option>
<option>2013-08-31</option>
<option>2014-08-31</option>
<option>2015-08-31</option>
</select>
And nextYears dropdown should be
<select>
<option>2013-08-31</option>
<option>2014-08-31</option>
<option>2015-08-31</option>
<option>2016-08-31</option>
</select>
and so on.
Anybody got any ideas?