RE: [PHP] Add Up Prices in Array
| From: | Ralph | Date: | Sun, 01 Jun 2003 08:17:54 +0000 |
| Subject: | RE: [PHP] Add Up Prices in Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149717@lists.php.net to get a copy of this message | ||
Disregard my last post, I went with what you suggested and I got it to
work.
Thanks again.
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]
Sent: Sunday, June 01, 2003 12:43 AM
To: Ralph
Cc: PHP General Mailing List
Subject: Re: [PHP] Add Up Prices in Array
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: