Get stored id's using iteration
<p>I please need some help:
I have this database, which has this fields with their respect values:</p>

<pre><code>agency_id | hostess_id
3         | 12-4-6
5         | 19-4-7
1         | 1
</code></pre>

<p>In hostess_id are stored all hostesses ids that are associated with that agency_id but separated with a "-" </p>

<p>Well, i login as a hostess, and i have the id=4
I need to retrieve all the agency_id which contain the id=4 , i can't do this with like operator.. i tried to do it by saving the hostess_id row to an array, then implode it, but i can't resolve it like this.</p>

<p>Please, please any idea?</p>
