Hi,
I'm currently working on a webshop. For that i need to make a two dimensional array to store the items moved to the cart.
Cart:
Cart = Session("Cart")
Items = Session("Items")
And when an item is moved to the cart:
Items = Items + 1
Cart(1,Items) = Items
Cart(2,Items) = rs("id")
Cart(3,Items) = Request("attr")
Cart(4,Items) = rs("name")
Cart(5,Items) = rs("price")
Cart(6,Items) = 1
And finally:
Session("Cart") = Cart
Session("Items") = Items
But i'm having issues with the asp lack of proper support of dynamic sized two-dimensional arrays. Or am i just taking it the wrong way? Can you help me?