$array = explode(',', $_SESSION['carrello']);
$array2 = explode('#', $_SESSION['prezzi']);

foreach(($array as $value && $array2 as $prezzo)) {
...
...

mi dà errore ....