shopping cart

From: Date: Tue, 19 Feb 2002 22:01:29 +0000
Subject: shopping cart
Groups: php.general 
Request: Send a blank email to php-general+get-85443@lists.php.net to get a copy of this message
Hi I listed my shopping cart in this form: product_name quantity(text field in form) price And I want allow user to change quantity and then after submit load cart contents with new quantity. I forward text value in one variable(name of text field) and id of product in second(hidden type) to my php script which modify quantity in mysql table. This is working good but only if I have one product in cart . What should I do to forward to script all variables of products in cart. My modify function is part of class and when I put there global $HTTP_POST_VARS; variables of that one product weren't be seem , if I write global $id,$quantity they were been seem very well ( but it's still for one product). How to make $HTTP_POST_VARS been see in class function? thx for any help sasza

« previous php.general (#85443) next »