uri->segment(3); $category_id = 0; $query = ee()->db->get_where('categories', array('cat_url_title' => $category_name)); if ($query->num_rows() > 0){ $category = $query->row(); $category_id = $category->cat_id; $category_nome = $category->cat_name; } ?>
Categoria: