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. > >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 >> >> > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php