I have many places where I use references like this:

        if ($fields['flags']['someflag']) ...

or perhaps

        if ($_POST['checkboxfieldname']) ...

If there is no value for 'someflag', or if the check box was not 
checked -- both of which are often the case -- these generate errors at 
level E_NOTICE.  Is there any way to prevent references to missing 
array elements from generating errors without turning off all E_NOTICE 
notifications?

Thanks,

--
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to