Peter Mr. Eps Thoenen wrote:
> 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']){

try array_key_exists instead of isset.
Neither isset nor array_key_exists should give warning messages. Maybe you
have a very high errorlevel? Isset doens't give warnings if E_NOTICE is set
as errorlevel.

Grtz Erwin

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to