I tried to print the array in the controller, before passing it to a view and this is the output
Array ( [annunci] => Array ( [0] => stdClass Object (
This is because you have not defined $annunci and made it available to the view. You need to load it to the view first by
Controller
$data['id'] = $yourArray; $this->load->view('your_view_file', $data);
View
//prints $yourArray