turn off a warning with $GET_['var'];

From: Date: Sun, 01 Sep 2002 08:17:33 +0000
Subject: turn off a warning with $GET_['var'];
Groups: php.general 
Request: Send a blank email to php-general+get-114816@lists.php.net to get a copy of this message
Hello, trying to figure a way to turn off the following warning. .... @ doesn't seem to work neither does switch (isset($_GET['status'])){ Notice: Undefined index: status in E:\php\tt\index.php on line 6 switch ($_GET['status']){ scenario is this var is set in every instance but the first GET request ... subsequent request this is set so no warning. Cheers, -Peter ################################## Peter Thoenen - Systems Programmer Commercial Communications Camp Bondsteel, Kosovo ################################## "Stumbled Upon"...heh (Score:5, Funny) /. by $carab on 23:00 23 August 2002 (#4131637) "ForensicTec officials said they stumbled upon the military networks about two months ago, while checking on network security for a private-sector client." Someone new to a Dvorak probably tried to type in "lynx http://www.google.com" but instead got "nmap -v -p 1-1024 -sS -P0 army.mil -T paranoid".

« previous php.general (#114816) next »