I need to write an array that looks like this:
$years = array('12', '11', '10', '09', '08');
I would like to have a script that will create this array, so that I don't have to update it every year.
Tried this:
for ($i = date("y"); $i >= 08; $i++) {
$yrs .= '"'.$i.'", ';
}
$years = array($yrs);