Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Building a league table system
Old 06-28-2005, 09:35 AM Building a league table system
Experienced Talker

Posts: 35
Trades: 0
Hi Guys,

I'm trying to create a league table system for my football content managed system:

So I have my league table:



I want to then create an admin screen which I can enter the results in:



and then when I hit submit the table is updated accordingly.



I have not got the feintest where to start and to create rules such as +3 points for every win, add 2 goals every goal conceded -1 etc. Can anyone point me in the right direction?

Thanks

Chris
chrisb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-30-2005, 06:31 PM
Uche's Avatar
Extreme Talker

Posts: 174
Location: Nigeria/Lagos
Trades: 0
have u created the ADMIN Area ?
__________________
Life is just lyke a school where everybody goes to learn one or two thing. the more u school, the more u learn more about school..The more we live our lifes.. the more we learn more about life.

Please login or register to view this content. Registration is FREE
Uche is offline
Reply With Quote
View Public Profile Visit Uche's homepage!
 
Old 06-30-2005, 08:58 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
A good starting point is to design your database carefully - how will you store the data about the teams? One way is to build a database that looks a lot like your league table, and chnage the values accordingly - this is quick and easy but you could easily end up with inconsistent data i.e. numbers that don't add upp as they should etc. Another approach is to record info in your db about the teams, and then log the individual match results in another table, with a record of which teams played and the score etc. Then you can generate the league table from this each time round with no consistency troubles.

Once you have designed your database structure, it is easier to see how to start building the scripts to manipulate it properly.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 07-04-2005, 06:27 AM
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
Smells of school project
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to Building a league table system
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35463 seconds with 12 queries