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
>>
>>>>if (!$_GET["game"]) {
>>>>include("public.html");
>>>>}
>>>>if ($_GET["game"] != NULL && $op != NULL) {
>>>>include("http://mywebsite.com/example/"; . "$game" . ".
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?
) {
> > > > include("http://mywebsite.com/example/"; . "$game" . ".html");
> > > > }
>
> or post instead of get in there?
>
> > -Original Message-
> > From: Anyang [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 2 Oct
gt; > include("public.html");
> > > > }
> > > > if ($_GET["game"] != NULL && $op != NULL) {
> > > > include("http://mywebsite.com/example/"; . "$game" . ".html");
> > > > }
>
if ($_GET["game"] != NULL && $op != NULL) {
> > > include("http://mywebsite.com/example/"; . "$game" . ".html");
> > > }
or post instead of get in there?
> -Original Message-
> From: Anyang [mailto:[EMAIL PROTECTED]]
&g
how r u getting $game? that's the undefind var.
> -Original Message-
> From: Anyang [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 2 October 2002 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] i need help with an undefined variable
>
>
> I wrote a php script for a page that I hosted
Like i said, the other server understood it at a function of the address bar
so if index.php?game=foobar then $game = foobar and it would refresh the
page with the foobar page in the center. This is what I want to do.
"Peter Houchin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[