[thelist] $_GET undefined [was: Tips tricks and troubleshooting]
Ed McCarroll
Ed at ComSimplicity.com
Mon Feb 24 12:37:01 CST 2003
> if ($_GET['dubug'] ) { echo("this is line 21<br />");}
I tried to do something like that:
if ($_GET['MenuID']) {echo "Yes";} else {echo "No";};
and got an error:
Notice: Undefined index: MenuID in ...
So I used array_key_exists(). But it works fine for my partner.
Is there a switch or something?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ed McCarroll MailTo:Ed at ComSimplicity.com
ComSimplicity (310) 838-4330
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the thelist
mailing list