Re: PHP me tiene harto
Hola,
Para utilizar el nombre que se da en un post dentro de una rutina php
tienes que importar las variables, intenta:
prueba2.php:
<?php
import_request_variable("GP");
echo $nombre;
?>
> Buenas !!
>
> Al final no estaba tan arreglado como yo pensaba mi problema. A ver si
> alguien es capaz de creerse el problemazo que tengo:
>
> prueba.php:
>
> <form action="prueba2.php" method=POST>
> <input type="text" name="nombre">
> <input type="submit" value="Aceptar">
> </form>
>
> prueba2.php:
>
> <?php
> echo $nombre;
> ?>
>
> Y no escribe nada en la pantalla... ¿Qué está pasando con PHP?
>
> --
> Saludos,
> Rafael Fernández López.
>
> Debian SID GNU/Linux.
> Key Fingerprint: 5821 AA99 B15F FB45 2616 B733 9785 B9CD F00C 579A
>
>
--
Guillermo Ballester Valor (gbv)
Ogijares, Granada SPAIN
http://www.oxixares.com/~gbv/
Linux user #117181. See http://counter.li.org/
Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html
Reply to: