this is really doing my nut in. I\'m passing a multidimensional array to a view like this:
$res = $this->deliciouslib->getRecentPosts();
Answer to your problem could be way of calling data from the array. Possible solutions:
Get the data in an array with index.
$data['**result**']=$this->deliciouslib->getRecentPosts();
Now since the result of getRecentPosts()
is an array of data, pass it to view
$this->load->view('view_name', $data);
If the result is an array, on View Page, access it via RIGHT INDEXING
$result[0-9]['col_name'] e.g **var_dump($result[9]['Title']**);
Otherwise if it is an array of objects,
$result[0-9]=>col_name
e.g **var_dump($result[9]=>title)**;