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

Pido disculpas, el ejemplo de Tizag q puse estaba incompleto. Acá esta la version verdadera y completa:

HTML:

<html><body>
<h4>Tizag Art Supply Order Form</h4>
<form action="process.php" method="post">
<select name="item">
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>
Quantity: <input name="quantity" type="text" />
<input type="submit" />
</form>
</body></html>


PHP:

<html><body>
<?php
$quantity = $_POST['quantity'];
$item = $_POST['item'];

echo "You ordered ". $quantity . " " . $item . ".<br />";
echo "Thank you for ordering from Tizag Art Supplies!";

?>
</body></html>



Sigue siendo obsoleto? Que tendria q cambiar exactamente en ese caso?