RE: Re: [PHP] Addin a column of numbers not using MySQL
| From: | Jay Blanchard | Date: | Mon, 04 Aug 2003 21:05:49 +0000 |
| Subject: | RE: Re: [PHP] Addin a column of numbers not using MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158182@lists.php.net to get a copy of this message | ||
[snip]
Let me try and explain a little better and easier. What I am trying to
do is take a list of values and add them to get. I am getting the
values from a database query.
Assuming that I had the following:
val_1 100.00
val_2 150.00
val_3 200.00
val_4 250.00
val_5 100.00
What I want to do now is add up the values 1-5 and get 800.00.
Does this help clarify?
[/snip]
Good, we're on the right path. Please try the code I sent previously