it's the only solution I know about doing many many relations, so if you know another one or something?
No there isn't any other solution. If you really think about it, there actually isn't any other way of doing it. How else would you implement an M-N relationship model?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.