Re: Display sum of table in one line of text?
The table structure basically goes something like this:
Database: tangoforce_com_1
Table: tfcoop
Fields: id (auto-increment), name (text), nat(text), kills (varchar), deaths (varchar), score (decimal)
I hope that is what you mean. :s
The original concept of the new website, was for me to simply enter the additional scores, which the mysql/php then adds to the current user total automatically.
So: User1 total = 467
I submit the results for a game via a form, so 467+5 = 472. 472 is then displayed instead of 467.
I am sure there is quite a simple way to make it do all of this, but being new to it, upon investigation of doing it, I was scared away by all the complexities. :o
Additional scores need to be added by myself, so I can make sure no fake scores are put through the system.
Would it be easier for you to help via email?
If so, you can get me at general[at]tangoforce.com
Thanks for taking the time to help a complete n00b. ;D