I've got a Newroom model:

```
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
    class Newroom_model extends CI_Model {

        function __construct()
        {
            parent::__construct();
        }

        function get()
        {
            $data=array();

            //First
            $query=$this->db->query("call GetHomeTypes()");
            $res = $query->result_array();
            for($i=0;$i<count($res);$i++)
            {
                $data['home_Types'][$i]['Type_ID']=$res[$i]['TypeID'];
                $data['home_Types'][$i]['Type_Name']=$res[$i]['TypeName'];
            }
            //Second
            $query2=$this->db->query("call GetRoomTypes()");
            $res1 = $query2->result_array();
            for($i=0;$i<count($res1);$i++)
            {
                $data['room_Types'][$i]['Type_ID']=$res1[$i]['TypeID'];
                $data['room_Types'][$i]['Type_Name']=$res1[$i]['TypeName'];
            }

            // print_r($data);
            return $data; 
        } 
    }
?>

```

If i'm executing only 1 query in the model - all works fine, but 2 returns nothing.
Can't figure out what's the problem here. 

**UPD** I've found that if i use simple query(not procedure) in first part, all is working fine

```
$query=$this->db->query("SELECT TypeID,TypeName
 FROM home_Types;");
    $res = $query->result_array();
     for($i=0;$i<count($res);$i++) {
     $data['home_Types'][$i]['Type_ID']=$res[$i]['TypeID'];
     $data['home_Types'][$i]['Type_Name']=$res[$i]['TypeName'];

```

But i need to use 2 procedures and to find out why it's working so.