a league scenario

Looking for volunteers to join your project? Need help with a script but can't afford to pay? Want to offer your services as a volunteer to build up your portfolio? This is the place for you...

Moderator: General Moderators

Post Reply
phase
Forum Newbie
Posts: 24
Joined: Sun Jul 18, 2004 10:47 am

a league scenario

Post by phase »

i coded a leagu in php a while ago, i am hoping to update it and make it easier to use for admin and users alike but i need some inspiration of how to go about it, i will firstly explain what i have, and the problems i have encountered, maybe some php guru could shed some light on a better way of approaching this system.

basically its a league, so as any league it has the following:
standings for the league
a number of divisions within the league
the teams
the players within the team
fixtures
results

currently i have it all working, but in a haphazard way, the only user involvement is they can edit their own team profile, add players and submit scores.
the main problem isthat when those scores get submitted, they do not automate the standings due to the way ive coded the site, admin have to manually retrieve the submitted scores from a db and them insert them into each team.

this is the scenario im hoping to acheive:
1) all teams approved, get sorted into divisions, this is easy to do, but then i want to have a script which makes all teams in that division play each other a set number of times (fixtures)

2) once those fixtures are set, the leaders of each team can submit the result, if both results are the same, the result gets placed into the results table of the db.

i really hope this makes sense, i would love to get some possible approaches to this scenario, if it doesnt make sense but you would liek to help, please post and ill try to elaborate more.

thanks, phase.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

i would be interested in further developinjg this concept for you for a personal project i have planned

if you are interested please private message me

Thanks, Mal
Post Reply