How do i get the select tag value with codeigniter?
<p>how do i get the select tag value, i am using the syntax below but not working.</p>

<p>Controller</p>

<pre><code> 'role' =&gt; $this-&gt;input-&gt;post('rol'));
</code></pre>

<p>View
these are the options in my select tag </p>

<pre><code>&lt;select name="rol"&gt;
 &lt;option value="Employee"&gt;Employee&lt;/option&gt; 
 &lt;option value="HR"&gt;HR&lt;/option&gt;
 &lt;option value="Student"&gt;Student&lt;/option&gt;
&lt;/select&gt;
</code></pre>