Posts: 1,832
Location: Somewhere else entirely
|
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)
|