I'd like to generate an array of years so that I can loop through them, starting with the current year: [current year], [current year + 1], [current year +2], etc.

<select name="year">
  <option value="...">...</option>
</select>

Any ideas on how to go about doing that?

Answered by Taylor Collins! Go to answer.