craygo Posted September 8, 2006 Share Posted September 8, 2006 I am running a golf league. I am trying to write a web based app to run my league. There is one thing I am having a problem with. The schedule. I need some help with a script which will schedule matches for the season. Some variables will be the number of teams and the weeks played. MySql will hold player information. The player table will hold name, flight(which is like A, B, C ect...), handicap, and team number. I will have a seperate table which will hold the match information.Examplewe have 8 teams with 4 players on each teamWe will be playing 21 weeks.Need a script that will make a schedule like soweek 11 vs 82 vs 73 vs 64 vs 5week 21 vs 72 vs 63 vs 54 vs 8and so on...Since the amount of weeks will most likely surpass the matches, It will be OK to repeat the matches once everyone has played a team once.Hope someone can helpRay Quote Link to comment https://forums.phpfreaks.com/topic/20116-created-match-schedule/ Share on other sites More sharing options...
craygo Posted September 8, 2006 Author Share Posted September 8, 2006 BUMP!!! ;D Quote Link to comment https://forums.phpfreaks.com/topic/20116-created-match-schedule/#findComment-88555 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.