[eluser]tarciozemel[/eluser]
Hi, people!
I have a N:N relationship between companies and segments, and exists a 3rd table with id, Company_id and Segment_id fields.
In a part of the code, I got some segments IDs in store that in an array $segments_ids. So, my (maybe dummie) question is: how can I get all the companies in wich those segments correspond to the segment IDs in the array?
Regards!