Ver original$itemABorrar = $_GET['id']; if (isset($itemsEnCesta[$itemABorrar])) { unset($itemsEnCesta[$itemABorrar]);}