Re: Newbie Question
| From: | Janet Valade | Date: | Mon, 15 Apr 2002 15:12:10 +0000 |
| Subject: | Re: Newbie Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93017@lists.php.net to get a copy of this message | ||
> On the browser i have a page in which i select the first button which has
> a link in the form of "products.php?tosend = 1"
> but in the second pagein where I try to trap the value of tosend to
> include a file, i don't get anything.
I assume you mean that you can see the value in the URL, but when you access
$tosend, it has no value. You should be able to get it from $_GET['tosend'].
Or if you are using a version of PHP prior to 4.1.0, you can use
$HTTP_GET_VARS. The problem may be that you have register_globals turned
off.
Janet
>
> If somebody could help me
>
> TYA
>
> Hubert DAUL
> Lyon - France
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>