在Codeigniter上循环

I have a table that contains an unknown number of elements. These represent business sectors.

Array ([0] => 1 [1] => 3 [2] => 6 [3] => 7)  

In this case this activity is linked to topics 1, 3, 6 and 7.

I Have some members who have indicated their fields of interest when they register. Interest fields correspond to sectors of activities.

When a new activity is announced, I would like to send an email to members who have checked at least one common interest with the activity. But I have no idea how to retrieve the email of all those members().

In the database the interests of members is stored like this: 246 The first member would be interested in sectors 2, 4 and 6.

enter image description here

I know how to do if there is only one business sector for the activity (example if value = 1).

function readMemberInterest($value) {
    $datas = $this->db->select("email")
                ->from($this->table)
                ->like('interet',$value,'both');

                  return $datas;

}

But I do not know where and how to place my LOOP and my OR (is for example value = Array ([0] => 1 1 => 3 [2] => 6 [3] => 7) ).

Briefly, I want to retrieve email members who have at least one common interest with activity. Any tips?

I hope to be clear, my English is not so great ... Thanks