Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/10/2008, 05:29
mikenrry
 
Fecha de Ingreso: julio-2008
Ubicación: Entre los 4 Núcleos
Mensajes: 27
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Ayuda con mi Carrito por favor

entonces quedaría algo así??
Código PHP:
function BorrarProducto($i){
        unset(
$this->codigo[$i]);
        unset(
$this->cantidad[$i]);
        unset(
$this->color[$i]);
        
reset($this->codigo);
           
reset($this->cantidad);
        
reset($this->color);
        
$this->items--;
      }