I have many-to-many relationship database. In one table i have listed all genres
In sencond table I have listed albums...
those two tables are glued with third table...
hrere is my question.... When I select albums and related genres I get duplicated rows (which is ok - i think). how do I display results? What are the coding standards?
Results
I would need results output something like this...
What are the ways to get such output? (making array...) How would I get records count (without duplicates)?