> I wrote class that contains a function that retrieves users shopping
> cart items from database and then returns an array with qty, item number
> , item name, etc.
>
> So now whenever I want to retrieve the users cart I use the following:
>
> $cart_contents = $cart->get_cart_contents();
>
> I t
Only if your code is calling the database...if $cart_contents is set on
the page and you call the var $car_contents over and over then no...the
initialization of the var is the only time if it is called in
get_cart_contents()...
--
BigDog
On Tue, 2003-07-01 at 16:41, Ralph wrote:
> I wrote class
I wrote class that contains a function that retrieves users shopping
cart items from database and then returns an array with qty, item number
, item name, etc.
So now whenever I want to retrieve the users cart I use the following:
$cart_contents = $cart->get_cart_contents();
I then iterate throu
3 matches
Mail list logo