Hi,
can someone tell me why this unset is not unsetting the session variable and goes into an infinite loop?
foreach($_SESSION['cart'] as $itemid => $qty)
{
if (true)
unset ($_SESSION['cart'][$itemid];
}
There is only one item in the cart but it loops forever.
Thanx.