I wnat to test a field with multiple values against single value, my SQL is like .
WHERE id (1);
Database values are like
id
---
1,2
2,3
1,3,4
codeigniter
$this->db->select('*');
$this->db->from('content');
$this->db->where('name', $name);
$this->db->where('id', $id);
I tried
$this->db->where_in('id', explode(',', $id));
but its not working.Please help me to solve this.