Click to See Complete Forum and Search --> : User controls session elements


LocalHero
10-10-2005, 03:59 AM
I have a t-shirt store where I am building an order form. I have input fields for products: quantity, product, color, size. It uses sessions such as $product1, $product1qty, $product1color, $product1size. The page lets the user add a row of options (php) to specify a second list of products and options. $product2, $product2qty, $product2color, $product2size. The user can add as many rows of products and options as they like. I need the sessions to remember these values depending on how many rows they choose.

My question is this: is there a way for the session variables to change based on how many rows the user wants?