Re: sending variables
| From: | Ifrim Sorin | Date: | Tue, 20 Feb 2001 09:50:32 +0000 |
| Subject: | Re: sending variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40715@lists.php.net to get a copy of this message | ||
In test1.php you shoul have
<?
$qry=getenv("QUERY_STRING");
$rosen=substr($qry,6);
print("$rosen");
?>
Sorin Ifrim
Rosen <rosen_dm@dir.bg> wrote in message
news:96tdvp$oo7$1@toye.p.sourceforge.net...
> Hi,
> I have two simple php files:
>
> main.php:
> <A HREF="test1.php?rosen=11">LIST</A>
>
> test1.php:
>
> <?print("$rosen");?>
>
>
>
> But this doesn't work !
>
> please HELP !
>
>
>
> Rsen Marinov
>
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>