Re: Undefined Index Errors
| From: | John W. Holmes | Date: | Fri, 06 Feb 2004 16:07:43 +0000 |
| Subject: | Re: Undefined Index Errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177025@lists.php.net to get a copy of this message | ||
From: "Cameron B. Prince" <cprince@rideware.com>
> I'm creating some strings from array elements obviously. The issue is, the
> array elements don't always exist depending on which function you are
> running. And when they don't, the server log is full of undefined index
> errors. Is there a way I can avoid these errors without adding a
> "if(isset(...))" around each one?
Adjust your error_reporting() level so these notices don't show up.
---John Holmes...