Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/04/2011, 17:15
Avatar de GendeDios
GendeDios
 
Fecha de Ingreso: mayo-2007
Ubicación: Paraiso de America
Mensajes: 135
Antigüedad: 17 años
Puntos: 10
Imprimir Variable

--
Hola.
Alguien me puede decir por qué motivo no me imprime la variable tomandola de una caja de texto?

Este es el código:
index.html
Código:
<html>
<head>
  <title>Caja de texto</title>
</head>
<body>
<h2>Caja de texto</h2>
<form action="procesar.php" method=post>
  <input type="text" name="texto"/>
  <input type="submit" value="Enviar" />
</form>
</body>
</html>
processar.php
Código:
<html>
<head>
  <title>Resultado</title>
</head>
<body>
<h1>Resultado</h1>
<?php
echo $texto;
?>
</body>
</html>
Agradezco sus ayudas.
--