title: Getting a value from an array in controller
body: <p>I have a function in controller which contains an array   </p>
  
  <pre><code>function get_art(){
  $data['rec']=$this-&gt;article_model-&gt;get_article();
  $this-&gt;load-&gt;view('first',$data);}
  </code></pre>
  
  <p>I need the section_id  from $data to pass it to another function in model.How can I get that?<br>
  Thanks from your help.</p>