Wow, that's perfect!
I was wondering one last (maybe?) thing. Since this query is looking at just one team that I've specified, is it possible to set up something where depending on the .php url it could automatically look up the team's results.
Say I name this "games.php", is there a way to set it up so that if you go to "games.php?Team_ID=ATL" it would give you ATL and ..?Team_ID=NYY would give you the Yankees and so on? Or would this be too difficult for a rook?