Ver Mensaje Individual
  #10 (permalink)  
Antiguo 07/05/2009, 10:56
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Problemas con "post" en PHP

Esque es lo mismo si te fijas tu estas imprimiendo $quantity, e $item, si estos no entran por los isset() de POST, nunca se define la variable, tendrias que inicializar al variable antes de usarla, por ejemplo:
Código php:
Ver original
  1. $item = 0;
  2. if (isset($_POST['item'])) {
  3.       $item = $_POST['item'];
  4. }

Saludos.