Tema: php y mysql
Ver Mensaje Individual
  #12 (permalink)  
Antiguo 22/10/2009, 11:56
Avatar de dcreate
dcreate
 
Fecha de Ingreso: octubre-2009
Ubicación: Veracruz
Mensajes: 536
Antigüedad: 14 años, 7 meses
Puntos: 22
haber prueba
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<form method="post" action="practica.php">
<input type="text" name="dato" />
<input type="submit" value="ok!" />
</form>
</body>
</html>

y..

despues

<?php
$dato=$_POST['dato'];
echo $dato;
?>

despues
este es practia.php

<?php
$dato=$_POST['dato'];
echo $dato;
?>

Última edición por GatorV; 22/10/2009 a las 13:55