i am trying to get values from a comma seaparated field in my database column, my column looks like this:
i did the following code in my mode:
$this->db->select('*');
$this->db->where("pc", $mid);
$this->db->where_in("category", $lid);
$this->db->from('product');
$query = $this->db->get();
$result = $query->result();
return $result;
however this doesnt give the result correctly, can anyone please tell what is wrong in here, thanks in advance