Advertisement

08.15.2008 at 01:58AM PDT, ID: 23650723 | Points: 500
[x]
Attachment Details

Multidomensional array with session

Asked by sastry_hora in PHP and Databases, PHP Scripting Language, PHP for Windows

Tags:

In my shopping cart application i need to pass group of values including product id while addingproducts to the cart so how to use multi dimensional array with sessions for this use.

For example i have used like $_SESSION['x'][$i]['product_id'];,$_SESSION['x'][$i]['quantity'] and so on..i am facing the problem while removing a product from cart.

Start Free Trial
 
Loading Advertisement...
 
[+][-]08.15.2008 at 02:07AM PDT, ID: 22236775

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.15.2008 at 02:28AM PDT, ID: 22236809

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.15.2008 at 03:26PM PDT, ID: 22242105

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628