title: CodeIgniter select_value in form_dropdown
body: <p>I have a dropdown field in my form and when I hit submit the form goes through validation and if an error happens, return all the value. This work expect for my dropdown meu, I have the set_value in the dropdown but it doesnt work :(</p>
  
  <p>Here is my code</p>
  
  <pre><code>&lt;?php echo form_dropdown('gender', $gender, set_value('gender')); ?&gt;
  </code></pre>
  
  <p>What am I doing wrong or missing?</p>