Con questo aggiungo oggetti all'arraycodice:session_start(); $art_gia_presenti = $_SESSION['art_in_car']; if ($art_gia_presenti != "") { $art_gia_presenti = $art_gia_presenti."|"; } $art_gia_presenti = $art_gia_presenti.$_GET['id_prod']; $_SESSION['art_in_car'] = $art_gia_presenti; echo "<html><head><meta http-equiv=\"refresh\" content=\"0;URL=carrello.php\"></head><body></body></html>"; exit;