What about switch(@isset($_GET['status'])) ? or @switch(isset($_GET['status'])) -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet "Peter Mr. Eps Thoenen" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > 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".
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php