Ver Mensaje Individual
  #7 (permalink)  
Antiguo 07/05/2009, 08:53
thenewuser
 
Fecha de Ingreso: julio-2008
Mensajes: 24
Antigüedad: 15 años, 9 meses
Puntos: 0
Respuesta: Problemas con "post" en PHP

Gracias por tu respuesta, pero sigo con el problema.

Use tu script. Corre bien, sin problemas. Pero cuando presiono enter sobre la barra de direcciones, salta lo siguiente (copio):

Notice: Undefined index: item in C:\wamp\www\process2.php on line 7

Notice: Undefined variable: quantity in C:\wamp\www\process2.php on line 9
You ordered .
Thank you for ordering from Tizag Art Supplies!




NOTA: las lineas 7 y 9 son estas:

Linea 7: $item = $_POST['item'];

Linea 9: echo "You ordered ". $quantity . " " . $item . ".<br />";