the array is for a shopping cart in a store
so the key is the product and the value is the quantity of that product.
I wanted to save the details of what they had ordered in a database and I thought imploding the basket and then saving it would be the best way
im starting to think that it isnt but cant really think of an alternative