Re: Problemas con el formulario
| From: | Àngel Fenoy | Date: | Mon, 18 Nov 2002 09:25:17 +0000 |
| Subject: | Re: Problemas con el formulario | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-29412@lists.php.net to get a copy of this message | ||
Dilluns Novembre 18 2002 10:00, jordi juarez dixit:
> Perdonad pero estaba haciendo pruebas y me cole
> realmente creo el formulario
> <form name="form1" method="post" action="leeme.php">
> <p>
> <input type="text" name="nombre">
> </p>
> <p>
> <input type="text" name="apellido">
> </p>
> <p>
> <input type="submit" name="Submit" value="ok">
> </p>
> </form>
> </body>
> </html>
> y cuando intento leer la variable nombre o apellido desde leeme.php no
> me
> encuentra la variable la variable estan bien pero me dice que no existe.
Seguramente tienes la directiva register_globals=On, usa $_POST['nombre'] y
$_POST['apellido']
Saludos
Àngel