Re: Re: sending variables
| From: | Simon Garner | Date: | Tue, 20 Feb 2001 10:03:43 +0000 |
| Subject: | Re: Re: sending variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40717@lists.php.net to get a copy of this message | ||
From: "Ifrim Sorin" <sifrim@rsb.ro>
> In test1.php you shoul have
>
> <?
> $qry=getenv("QUERY_STRING");
> $rosen=substr($qry,6);
> print("$rosen");
> ?>
>
> Sorin Ifrim
wtf? Most certainly do NOT do it like that. That's a ridiculous kludge.
Rosen, when you say "it doesn't work" what do you mean?
>
> 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
> >
> >