Cesar Aracena <mailto:[EMAIL PROTECTED]>
    on Tuesday, August 19, 2003 10:18 AM said:

> Sensitivity: Confidential

Oh really?

> and not the CD quantity according to file size... Why is the array
> there and what it is supposed to be called with to give one or
> another result? 

Pay close attention to this part:

>        $cart_cdqty = array(
>            'quantity' => $x,
>            'total_size' => $n
>        );
> 
>        return $cart_cdqty;

That means it's returning an array. one index is called 'quantity' and
the other is called 'total_size'.


$qty = function(input);

echo "quantity is ".$qty['quantity'];


hth,
chris.

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

Reply via email to