This is probably an easy one. I am fairly new to this.
Here is what I have
I am working with three tables right now
a Teams table which lists Team names and their ID's
In another table I have games listed with Visiting teams and Home teams IDs, as well gameDate, Status, etc.
I am working on a schedule page for a website using PHP. I am pulling all the informatin from the games table to use on the scheule but I need to replace the Team ID's with Team Names. Obviously You do this with a Join, and I can get it to work for the visiting team OR the home team one or the other. I cannot get it to grab BOTH. Any Ideas?
Here is what I have
I am working with three tables right now
a Teams table which lists Team names and their ID's
In another table I have games listed with Visiting teams and Home teams IDs, as well gameDate, Status, etc.
I am working on a schedule page for a website using PHP. I am pulling all the informatin from the games table to use on the scheule but I need to replace the Team ID's with Team Names. Obviously You do this with a Join, and I can get it to work for the visiting team OR the home team one or the other. I cannot get it to grab BOTH. Any Ideas?