RE: [PHP] Re: Value in URL issue

From: Date: Wed, 16 Jun 2004 19:53:05 +0000
Subject: RE: [PHP] Re: Value in URL issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188429@lists.php.net to get a copy of this message
Both $_GET['page'] and print_r($_REQUEST) come up empty! No results at all. :\ -Mike > -----Original Message----- > From: Torsten Roehr [mailto:roehr@zilleon.com] > Sent: Wednesday, June 16, 2004 3:44 PM > To: php-general@lists.php.net > Subject: [PHP] Re: Value in URL issue > > > "Mike R" <spycobalt@spyproductions.com> wrote in message > > news:GKEFLEHIPEGIFEECKBNEOEDGGKAB.spycobalt@spyproductions.com... > > > > I have an issue where I have a value in a link like this: > > > > http://www.something.com/templates/nav.php?page=about > > > > But when the link is clicked on, the value of page is empty. Is this a > > globals issue of some sort? > > Try accessing it via $_GET['page']. You can always do a print_r($_REQUEST) > to see which variables are available. > > Regards, Torsten Roehr > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#188429) next »