title: PHP CodeIgniter - Dropdown using foreach does not show "selected" value
body: <p>I am generating options for my dropdown using</p>
  
  <pre><code>// view.php
  foreach ($plants as $row):
      $options[$row-&gt;plant_id] = $row-&gt;plant_name;
  endforeach;
  </code></pre>
  
  <p>and then lower in the HTML part of view.php</p>
  
  <pre><code>//view.php
  $js = 'onChange = "plantDateDelete(\'/size/get_dates_for_plant/\'+this.value);"';
  echo form_dropdown('plant_id', $options, 'Select', $js);
  </code></pre>
  
  <p>The dropdown show options OK, but it does NOT show 'Select' as the "selected"/default value. It shows up with the first option of the array instead.</p>
  
  <p>The HTML source also shows 'Select' in <code>form_dropdown</code> was ignored. </p>
  
  <p>I really need this dropdown to show up with 'Select' as default so as to force the user to activate the <code>onChange</code> function.</p>
  
  <p>Any idea what is going on here or how to solve this issue?</p>