thanks for the help.  got it to work
"Brother - Martin Bagge" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Anyang:
>
> > it's giving me this now:
> > Notice: Undefined index: game in C:\Xitami\webpages\index.php on line
> > 5 Notice: Undefined index: game in C:\Xitami\webpages\index.php on
> > line 8
> >
> > because i'm opening index.php without using ?game=
> > is there anything I can do to not get it to say that?  it's not
> > reading $_GET["game"] as NULL but as undefined instead.
>
>
> if (!isset($_GET["game"])) {
> $game = "?"; //well what was an expected situation for requests without
game
> var?
> } else {
> $game = $_GET["game"];
> }
>
> then carry on with the code.
>



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

Reply via email to