ID: 9881
Updated by: torben
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Variables related
Assigned To: 
Comments:

Well, define $e then. ;) Or put a '@' in front of it
to suppress the error. Or turn down the error_reporting().
Check the manual for more information on using the
language:

  http://www.php.net/manual

And especially the section on error handling:

  http://www.php.net/manual/en/features.error-handling.php



Previous Comments:
---------------------------------------------------------------------------

[2001-03-20 15:11:05] [EMAIL PROTECTED]
Read www.php.net/error_reporting please, this is not a bug

---------------------------------------------------------------------------

[2001-03-20 14:56:11] [EMAIL PROTECTED]
<?php
switch ($e) {

case "list";
// do this
break;

case "add";
// do that
break;
}
?>

everytime i call the script without the varible "e" specified... they will return 
"Warning: Undefined variable: e in e:somewheresomehow on line 14"

please help.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9881&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to