I only get 'NULL' when I do that.  Sort of interesting.....

-Mike



> -----Original Message-----
> From: Matt Grimm [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 16, 2004 4:10 PM
> To: Mike R
> Subject: Re: [PHP] Re: Value in URL issue
>
>
> Try this at the top of nav.php (before any other code):
>
> var_dump($_GET['page']);
>
> It can generally can give you more interesting information.
>
> --
>
> Matt Grimm
> Web Developer
> The Health TV Channel, Inc.
> (a non - profit organization)
> 3820 Lake Otis Parkway
> Anchorage, AK 99508
> 907.770.6200 ext. 686
> 907.336.6205 (fax)
> E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Web: www.healthtvchannel.org <http://www.healthtvchannel.org>
>
>
>
> Mike R wrote:
>
> >
> >
> >>-----Original Message-----
> >>From: chmok [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, June 16, 2004 3:50 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: [PHP] Re: Value in URL issue
> >>
> >>
> >>[EMAIL PROTECTED] (Mike R) wrote in
> >>news:[EMAIL PROTECTED]:
> >>
> >>
> >>
> >>>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?
> >>>
> >>>Thanks,
> >>>
> >>>-Mike
> >>>
> >>>
> >>How are you testing for the variable on nav.php? It will be in $_GET
> >>['page'] with more recent versions of PHP. If you want to use the
> >>variable
> >>directly, like $page, you need to extract it first - extract($_GET).
> >>
> >>
> >
> >I did print  $_GET['page'];
> >
> >:)
> >
> >-Mike
> >
> >
> >
> >
> >
> >
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to