I am storing shopping cart data in a SESSION Array like this:
$_SESSION['cart'][$sessID] = array ('quantity' => 1, 'price' => $prodPrice, 'prodName' => $prodName, 'size' => $size, 'handle' => $handle)
Each time a user adds an item to the cart, a new sessID is created and a new Session Array.
How do I count how many sessID's there are when it comes to checkout?
I don;t want to count the items in the shopping cart - I want to count the number of occurances of $_SESSION['cart']
Thank you