Hi,
I am having some problems with $_GET when using PHP 4.2.1 and Apache 1.3.24 on Windows 2000.
If i try to test for the presence of a value in the $_GET array and that value does not exist the page fails to load. ie
if ($_GET['errorCode']){
do_something();
} else {
do_something_else();
}
When errorCode does not exist the page bombs out instead of executing the else statement. If errorCode has a value in the $_GET array everything works fine.
So whats going on? Am i being a spanner? or is there something more going on?
Thanks
Stuart