Offset error

From: Date: Thu, 15 Jul 2004 23:08:16 +0000
Subject: Offset error
Groups: php.general 
Request: Send a blank email to php-general+get-190652@lists.php.net to get a copy of this message
Hello, error: PHP Notice: Undefined offset: 1 in /home/ant/test.app/teste3/getfiles.php on line 217 I have this Undefined offset error in PHP because I am trying to get a value from this $att[$k]->parameters[1]->value that sometimes does not exist with offset 1 as the parameters go up to 0 and not one. Can anyone tell me how to test the offset 1 or more in the array $att[$k]->parameters[1] so that I can avoid this error? Thanks.

« previous php.general (#190652) next »