Entfernen Sie Elemente in dieses Array
unset($_SESSION['cart'][$val1]);// $val1 is the key of the element
Gifted Goldfinch
unset($_SESSION['cart'][$val1]);// $val1 is the key of the element