Oops sorry, missed that.

Heres whats on top of the page:

echo "Ok,we are in show.php<br>";
if(isset($_GET["id"])){echo "Got \$_GET[id]<br>";}else{echo "No
\$_GET[id]<br>";}
if(isset($_GET["sid"])){echo "Got \$_GET[sid]<br>";}else{echo "No
\$_GET[sid]<br>";}
print_r($_GET);
print_r($_GET['id']);
print_r($_GET['sid']);

and heres the output:

Ok,we are in show.php
No $_GET[id]
No $_GET[sid]
Array ( )


Ideas?

Cheers,
-Ryan




On 1/14/2004 10:56:35 PM, Jason Wong ([EMAIL PROTECTED]) wrote:
> On Thursday 15 January 2004 05:01, Ryan A wrote:
>
> > I put this in for testing:
> >
> > if(isset($_GET["id"])){echo "Got \$_GET[id]<br>";}else{echo
> "No
> > \$_GET[id]<br>";}
> > if(isset($_GET["sid"])){echo "Got \$_GET[sid]<br>";}else{echo
> "No
> > \$_GET[sid]<br>";}
> >
> > and heres the output:
> > No $_GET[id]
> > No $_GET[sid]
> >
> > So the variables are not being passed....
> > Any idea why and what I can do about this?
> > (Am a total newbie here)
>
> As was previously suggested just do a
>
> print_r($_GET)
>
> to see what, if anything,
> you're getting.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> Price's
> Advice:
> It's all a game -- play it to have fun.
> */
>
> --
> 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

Reply via email to