I will be using MySQL linked to PHP but I'm thinking of many different ways to achieve what I have to without settling on something that is good enough so I was wondering if anyone could offer there advice on a good way to set it out.
I am doing a website for a friend who is an agent, they want a website which lists all their clients (actors) and what they've appeared in.
I have one table which lists the people and all their details and another table that lists various shows\movies\commercials - that bit is fine.
The bit I'm struggling to come to a decision on is linking the two. There will be times when I need to be able to list multiple scenes or more than one appearence in the same thing and what happens in each scene/appearance.
I originally thought of an easy table with the fields personid and showid linking to the right person and show/movie etc. One entry for each person in the people table with the final field being a text box listing them all and exploding via the \n to show it on the site but that isn't exactly efficient.
I then thought about one with the above with a new entry for each credit but that could end up running into the 10's of thousands so I figured that also is probably not the best option.
Anybody got any ideas of a better way to do it? If what I've said doesn't make any sense let me know and I'll try to explain it a bit better. 😃