Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Anyang
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

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Luis Ferro
>> >>>>if (!$_GET["game"]) { >>>>include("public.html"); >>>>} >>>>if ($_GET["game"] != NULL && $op != NULL) { >>>>include("http://mywebsite.com/example/"; . "$game" . ".

RE: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread brother - Martin Bagge
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?

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Anyang
) { > > > > 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

Re: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread Anyang
gt; > include("public.html"); > > > > } > > > > if ($_GET["game"] != NULL && $op != NULL) { > > > > include("http://mywebsite.com/example/"; . "$game" . ".html"); > > > > } >

RE: [PHP-WIN] i need help with an undefined variable

2002-10-01 Thread Peter Houchin
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

RE: [PHP-WIN] i need help with an undefined variable

2002-10-01 Thread Peter Houchin
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

Re: [PHP-WIN] i need help with an undefined variable

2002-10-01 Thread Anyang
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:[