Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/10/2009, 20:02
thezzin
 
Fecha de Ingreso: septiembre-2008
Mensajes: 350
Antigüedad: 15 años, 8 meses
Puntos: 31
Respuesta: Duda con get y post

prueba así

Código HTML:
<html>
<body>
<form action="" method="post" id="formulario">
Nombre: <input type="text" name="nombre" />
Edad: <input type="text" name="edad" />
<input type="submit" />
</form>
</body>
</html>
Bienvenido <?php echo $_POST["nombre"]; ?>,<br />
Tu edad es: <?php echo $_POST["edad"]; ?> a&ntilde;os.
__________________
╬-----╬
║☺₧☻║
╬-----╬