im doing up a volleyball script.. for league standings and stats. one of the things i want to put in there is a part that shows how many games behind the #1 team another team is. there are 12 teams..
im not sure.. im thinking like, doing a query of all the team, sorting by the wins, and then doing a limit on just 1.. then giving that its own $variable and then do like a $variable - $winsto get the games behind.. would that work? im still at work so i cant test it out right now