RE: [PHP-WIN] Mathimatical equations in PHP

From: Date: Fri, 28 Dec 2001 16:11:14 +0000
Subject: RE: [PHP-WIN] Mathimatical equations in PHP
Groups: php.windows 
Request: Send a blank email to php-windows+get-11181@lists.php.net to get a copy of this message
I am kind of pessimistic by nature, and would not with out having checked out this thing believe the case is not in you favor this time. /Anders >-----Original Message----- >From: Todd Williamsen [mailto:todd@williamsen.net] >Sent: Friday, December 28, 2001 5:04 PM >To: php-windows@lists.php.net >Subject: Re: [PHP-WIN] Mathimatical equations in PHP > > >That is not what I was looking for, is there a function in PHP >that does this? > > >"B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message >news:27E647E5629ED211BF78009027289C6302157DB4@mail1... >> >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. >

« previous php.windows (#11181) next »