Re: Newbie Question
| From: | Chris Hewitt | Date: | Mon, 15 Apr 2002 21:09:40 +0000 |
| Subject: | Re: Newbie Question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93089@lists.php.net to get a copy of this message | ||
Hubert,
It may just be the way you typed it in the email but your "products.php?tosend = 1" has spaces in it. This will truncate the tosend parameter and give it a null value.
HTH
Regards
Chris
Janet Valade wrote:
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. JanetIf 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