Okay, so I’m building some player profiles and I need help with php to set it up. On the SQL form, I already asked for help and received what I needed. Originally, I figured I could set the PHP code by myself but the answer I got in the forum at the link below is going to need some more complex PHP code that is out of my league.
[url]http://www.webdeveloper.com/forum/showthread.php?t=234083
What I want to do is have a game-by-game on each player’s profile.
So, I’m going to query only the player’s ID (player.php?ID=1). From that, I want to pull the profile information (already done).
I’m also going to pull up game-by-game stats.
What I want the completed output to have is
Date | Opponent | Stat1 | Stat2 …
So what I need to be able to do is the pick out all stat entries (in the stat table) for player ID (1), then the date and opponent for each game in which said player played in from the Game and Opponent tables. Be sure to look at the link above to get the exact table setup.
Thanks everyone for your help…let me know if you need more information.