Hiya,
I am in the process of making a clan website with interaction with a mysql database.
I have a page where i display results. I am using a results table in MYSQL to display the results. In this mysql table, i have a field called "score", where i insert a number of what we scored in the game (i.e. 12).
On a different page on the website, i have a result statistic section where it counts how many games i have won/lost etc.
The problem is how can i count "Total Score". I want to count every "score" on each row and add them all together to give me a final/total number.
Any advice would be great.
My next problem is that i want to do a "Streaks" section.
Also in my results database, i have a field called "Outcome", where it displays whether the game was won/lost or drawn.
I need to count the number of wins the clan has had, without losing or drawing a match, but i have no clue what so ever how to do this.
Again, help would be great and muchly appreciated.
Kinneh