>I have a site that is for a football game and people play each other then
>report who is the winner and loser.  Well, I want to inject some excitement
>a bit and do some stats, like Passing averages per game and rushing average
>per game.
>
>The problem is that it will need to make the total yards then divide them
by
>the number of games they played.
>
>How would I do that?

What about the old fashion addition, multiplication and division we all
learnt in basic school?

> Also would I need two rows, one for total yards and
>one for averages? or just one row just for the averages?

For total use addition for average divide the total with number of
participates.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to