If they are coming out of your database, why not get your database to do
it for you by calling SUM() in your query?

On Sun, 1 Jun 2003, Ralph wrote:

> I'm querying prices off a database then storing these in an array, I
> want to add these up to get the grand total, how would I go about adding
> up all the prices stored in the array?
>
> Thanks in advance.
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to