So here is my question. I have a table for song for URL titile and type. I have an user input fields where the user can choose what type of music he wants. As we all know 1 song never is never only 1 type so every song has more than 1 type. So my question is there a way that i can search for what the user has picked.
For expml:
the user is searching for: punk, techno.
in the table there is a song with type: punk techno and rap
I’d like this row to be selected
You have to use many-many relationship, so you have to create an “intermediary” table called something like “song_type” with these columns:
This way you can have multiple songs related to multiple types.