Linking tables together to show related records
-
Hi, I really like the look of dbview. I would love to be able to use it better.
I have multiple tables, which can be seen here: https://matthewpetty.com/theatrics/theatre-database/list-of-all-theatre-groups/
The password is “dbview”The tables represent my amateur theatrical career. One table shows theatres, another shows theatre groups, another shows roles etc.
Each table has a unique ID in one of the columns, so it should be easy to link.
What I would love to do is show a list of theatres, and to be able to click on a theatre and see a list of performances at that theatre. Similarly, I want to show a list of groups, click on a group and show a list of performances with that group.
I’ve tried to understand the FAQ, but I can’t seem to get it to work. I don’t understand what I need to do.
What should I put in the view SQL definition, the dbview tag, the args. Where would I put the PHP?
I would be very grateful if you could walk me through this.
Best regards,
Matthew
- The topic ‘Linking tables together to show related records’ is closed to new replies.