I have problem with this simple shopping cart, I am going to pushing two different value from different table into arrays.
The value is product id & size id, its work to carry the value but the size appear not to be fix inside the cart.

2.php, This page for pushing value inside arrays.
Code:
switch($action){
	case "add":
	$_SESSION['cart'][$prod_id][$size_id]++;
	break;
	case "remove":
...