0

I saw a question that is similar to my one but not the same, so I ask about it here. Assume, I have an SELECT with a list of OPTION elements that I want to fill with years, for example, from 1920 to current year. How can I start iterating not from zero to some value but from some value to some another value? For example, from 1920 to 2011?

Community
  • 1
  • 1
Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335

1 Answers1

2

You can pass range(1920, 2012) from the view.

wRAR
  • 25,009
  • 4
  • 84
  • 97