I have a MySQL database with a games
table. I also have publishers
and developers
tables. Each row in the games table has publisher and developer columns, which correspond with the other two tables.
games.Publisher
&publishers.PublisherID
games.Developer
&developers.DeveloperID
I'm trying to count the number of games each publisher and developer has, and display these with php into two tables on separate web pages. I know I need to create a loop to populate the number of games for each publisher/developer present in the table rows, but I can't figure out how.