Re: [PHP-WIN] expecting a variable

2001-10-12 Thread Jonathan David Edwin Wright
You might try something like: if (!isset($element1)) { $element = ""; } Which would check that the value is set, and if not, initialize it. At 16:59 12/10/2001 +0800, you wrote: >my login page (login.php) passes it's form elements to my main page >(main.php). >in my main page, i try to call

[PHP-WIN] expecting a variable

2001-10-12 Thread Brian Feliciano
my login page (login.php) passes it's form elements to my main page (main.php). in my main page, i try to call the elements from my login page as $element1; but if go to my main page directly, without going to the login page, php tells me that $element is not initialized, which is true because it