Re: [PHP-WIN] Undefined variable issue

2004-01-06 Thread Frank M. Kromann
Hi Jim, I don't think the code you posted matches the code you are running. This code does not give any errors, it works fine. There is no $guess variable in line 27. - Frank > Hi everyone, > > I'm new to working with PHP (coming from a ASP/VBScript background) and > I'm currently reading the

Re: RE: [PHP-WIN] undefined variable

2002-02-06 Thread bz
does it? but i got a parse error message in example1 , while example2 works well. >or simply declare your variables: > var $user1,$password1; example1: example2: -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] undefined variable

2002-02-06 Thread Pac mon
or simply declare your variables: var $user1, $password1; > > > Hello everyone, > > I have a small question: > > How can I get rid of "Warning: Undefined variable: user1(& > > password1) in C:\WebShare\wwwroot\netk\5\login.php on line 4" > > in that program? > > > > > include ("config.php");

RE: [PHP-WIN] undefined variable

2002-02-06 Thread Martin Lindhe
> Hello everyone, > I have a small question: > How can I get rid of "Warning: Undefined variable: user1(& > password1) in C:\WebShare\wwwroot\netk\5\login.php on line 4" > in that program? > >include ("config.php"); > session_register("userpassword"); > if($user1==$USER && $password1==