title: set_select for select tag in codeigniter
body: <p>How to set value for select tag ,as when i tried for text field </p>
  
  <pre><code>&lt;input type="input" name="name" value="&lt;?php echo set_value('name') ?&gt;"/&gt;
  </code></pre>
  
  <p>its working but when i tried for select tag</p>
  
  <pre><code>&lt;SELECT class="form-control" name="user" style="width:200px;"&gt;
      &lt;option value=""&gt;--Select--&lt;/option&gt;
      &lt;?php
          foreach ($result as $row):
          echo "&lt;option value='" . $row['id'] . "' &gt;" . $row['employee_name'];
      ?&gt;
      &lt;?php endforeach ?&gt;
  &lt;/SELECT&gt;
  </code></pre>
  
  <p>its not working ,when validation run falls its again showing --Select-- option</p>