[eluser]Bigil Michael[/eluser]
Quote:if($search!=‘all’){
$this->db->like('heading', $search);
}
$this->db->where('(cat_id = '.(int)$category.' OR subcat_id = '.(int)$category.')', NULL, FALSE);
$this->db->where('featured', 1);
$this->db->where('status', 1);
i echoed the query and run it on my sql
there also it shows 0 values