Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/06/2012, 21:31
Avatar de rickyper
rickyper
 
Fecha de Ingreso: abril-2009
Mensajes: 182
Antigüedad: 15 años
Puntos: 10
Respuesta: Problema con $_POST, primeros pasos

Usa estas correcciones y te funcionará:
Código PHP:
Ver original
  1. <form action="prueba1.php" method="POST">
  2. <input name="dato" type="text" /><br />
  3. <input type="submit" value="ok" />
  4. </form>
  5. El codigo de la php es:
  6. <?php
  7. echo $_POST['dato'];
  8. ?>
__________________
www.granideamillonaria.com