OK, now that I have your attention, I've got a basic mysql SELECT question that I can't figure out.
I want to return the team names for the code equivalences in the games table. I'm trying to do a lookup of the team name for both the home and away teams. I can get it to result the home or the away team name however can't figure out how to get both?
Ex.
table teams
+----+----+
| code | name |
+----+----+
| 1 | Colts |
+----+----+
| 2 | Falcons |
+----+----+
| 3 | Rams |
+----+----+
| 4 | Jets |
+----+----+
table games
+----+----+
| home | away |
+----+----+
| 1 | 2 |
+----+----+
| 3 | 4 |
+----+----+
Thanks for your help
Kevin