Oh I see!
Just put the below line before initiate $c2:
$cate->db->next_result();
It then look like:
class Category{
var $db;
function getCategory(){
$categoies=$this->db->query('Call get_category();');
return $categoies;
}
}
$cate=new Category();
$cate->db=new mysqli('','root','abc','mydb');
$c=$cate->getCategory();
var_dump($c);
echo '<br />';
$cate->db->next_result();
$c2=$cate->getCategory();
var_dump($c2);