I have a table in my database with adminId and clientId
There might be 20 records with the adminId of the logged in user and I\'m trying to pull a list of clients.>
Use where_in()
$ids = array('20', '15', '22', '46', '86'); $this->db->where_in('id', $ids );