title: get array of column values in codeigniter
body: <p>i have a table with this structure:</p>
  
  <p>ID int(11)</p>
  
  <p>user_id int(11)</p>
  
  <p>notification_event_id   int(11)</p>
  
  <p>how can i get an array that contains all values of user_id column :</p>
  
  <p><em><strong>EX:</em></strong></p>
  
  <pre><code>Array([0]=&gt; 1,[1]=&gt;2,[2]=&gt;3,[3]=&gt;4,[4]=&gt;5,[5]=&gt;6);
  </code></pre>
  
  <p>and without looping on the <code>result_array()</code> value and moving the user_ids to a new integers array</p>
  
  <p>is that possible?</p>