I have question about the SESSION array.
I just add item and qty in different session. I use code like this :
$_SESSION[\'idproduct\'] = $id.\",\";
You could use explode function and push another item into the array
explode
array
$items = explode($_SESSION['idproduct']); $items[] = $your_new_value; print_r($items); // this will you the values inside the array. $_SESSION['idproduct'] = implode(',', $items);