Hi Guys,
I have a question about the way PHP handles var/strings.
Let's say i have this URL: http://foo.bar.com/?login.
And in my script i have this code:
if($login) { echo "blab"; } or
if(isset($login)) { echo "blab"; }
It always returns FALSE. I think that is because the string
is empty. Shouldn't PHP, even if a var is empty, put it in
his var-list?
Is there another way to do what i want?
Thanks,
Jeroen Geusebroek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]