7;, '');
}
-Original Message-
From: Eric Gorr [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 5:17 PM
To: PHP General; Tom Shaw
Subject: Re: [PHP] Summing array indexes.
Not a direct answer to your question (don't worry, I hate it when
people do
ic Gorr [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 5:17 PM
To: PHP General; Tom Shaw
Subject: Re: [PHP] Summing array indexes.
Not a direct answer to your question (don't worry, I hate it when
people do this to me too), but one thought I had was to have all of
th
On Thu, Sep 4, 2008 at 11:02 PM, Tom Shaw <[EMAIL PROTECTED]> wrote:
> Is there an easy way to loop thru the array below and add the incremented
> total price indexes so the order_total_price index contains the correct
> sum.
> Any help would be greatly appreciated.
>
>
>
>
>
> array(5) {
>
> [0]
This should help:
http://us.php.net/array_walk
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Tom Shaw wrote:
> Is there an easy way to loop thru the array below and add the incremented
> total price indexes so the order_total_price index contains the correc
Not a direct answer to your question (don't worry, I hate it when
people do this to me too), but one thought I had was to have all of
the products ordered as their own array.
[0] => array(15) {
["order_date"] => string(8) "09-01-08"
["order_products"] => array(2) {
[0] => string(5
Is there an easy way to loop thru the array below and add the incremented
total price indexes so the order_total_price index contains the correct sum.
Any help would be greatly appreciated.
array(5) {
[0] => array(15) {
["order_date"] => string(8) "09-01-08"
["order_product_pric
6 matches
Mail list logo