Tema: php y mysql
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 22/10/2009, 11:49
mcarly
 
Fecha de Ingreso: agosto-2009
Mensajes: 41
Antigüedad: 15 años, 5 meses
Puntos: 1
Respuesta: php y mysql

me sigue haciendo lo mismo puse este codigo:

<html>
<head>
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<form method="get" action="practica.php">
<input type="text" name="dato" />
<input type="submit" value="ok!" />
</form>
</body>
</html>
Y en pr actica php puse:

<html>
<head>
<title>Documento sin t&iacute;tulo</title>
</head>
<?php
$dato = $_POST['dato'];
?>
<body>
</body>
</html>
Igual me aparece en blanco cuando le doy al boton ok! no me imprime el resultado, q pasara?