How would I go about separating this data from a DB:
Players
playerid || fname || lname || teamid
1 || Keith || Van Horn || 16
2 || Allan || Houston || 16
3 || Jason || Kidd || 15
4 || Charlie || Ward || 16
5 || Kenyon || Martin || 15
Teams
teamid || city || nickname
15 || New Jersey || Nets
16 || New York || Knicks
so, using PHP, it is separated by team, and the team name is displayed above the first player from each team, sort of like how vBulletin displays forums and their parent categories on the main index page, e.g.:
New Jersey Nets
Jason Kidd
Kenyon Martin
New York Knicks
Keith Van Horn
Allan Houston
Charlie Ward