It looks like you're new here. If you want to get involved, click one of these buttons!
$this->ads_model->record_count(array('cat_id'=>$catId, 'sub_cat_id'=>$subCatId));
$CI->load->model('ads_model'); $CI>ads_model->record_count(array('cat_id'=>$catId, 'sub_cat_id'=>$subCatId));
Comments
$CI->load->model('ads_model'); $CI>ads_model->record_count(array('cat_id'=>$catId, 'sub_cat_id'=>$subCatId));
fuel_model is a convenience wrapper function around the model.