CodeIgniter: Passing information from the Model to the Controller using result_array() <p>I have the following model that <code>print_r</code> shows <code>Array ( [id] =&gt; 1 [cms_name] =&gt; Content Mangement System )</code> Currently in my controller I have <code>$data['contentMangement'] = $this-&gt;model-&gt;function</code> but I am unsure how to bring my above array into this.</p> <pre><code>function systemOptions($options) { $this-&gt;db-&gt;select($options); $query = $this-&gt;db-&gt;get('options'); if($query-&gt;num_rows() &gt; 0) { $row = $query-&gt;row_array(); $row['cms_name']; } print_r($row); return $query-&gt;result_array(); } </code></pre>