title: Laravel 4 - Input::old for standard select HTML
body: <p>I was wondering if someone could help me out.</p>
  
  <p>Im trying to list all years from 1970 until the current year without having to come into the code each year and update it.</p>
  
  <p>I am using the following code to achieve this, but i am unsure of how to use the Input::old('year') with it.</p>
  
  <pre><code>$currentYear = date("Y");
  $years = range( $currentYear, 1970 );
  
  echo '&lt;label for="year"&gt;Year&lt;/label&gt;';
  echo '&lt;select name="year" id="year"&gt;';
  echo '  &lt;option value=""&gt;Please Select&lt;/option&gt;';
  foreach( $years as $year ) {
      echo '&lt;option value="' . $year . '"&gt;' . $year . '&lt;/option&gt;';
  }
  echo '&lt;/select&gt;';
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>