hi im attempting to update a script from coryApp and im getting the following error

PHP Notice: Undefined offset: 11

here is the code where it is coming from can someone point me in the right direction on this ty jan x

<td width="15%" class="headrows4" valign="top" align="left">
                        THIS LINE >>><p><input type="checkbox" style="margin-left:0px; padding-left:0px" value="<?php echo $list['PhotoID'][$i+5];?>" name="imgs[]"  />
                        <?php echo $list['ProfileName'][$i+5];
                            $extend = ($list['PrimaryPhotoID'][$i+5]==$list['PhotoID'][$i+5])?'Primary':date('m-d-Y', strtotime($list['InsertDate'][$i+5]));
                            echo ' <i>('.$extend.')</i>';?></p>
                        <img src="<?php echo $base_url.$uploaddir.'/'.$list['UserID'][$i+5].'u'.$list['PhotoID'][$i+5].'.'.$list['PhotoExtension'][$i+5];?>" border="0" width='170' />

at some point, you are using a loop. The variable $i is being assigned a value, and at some point that value is 6.

if $i = 6 AND 6 + 5 is 11 ----

it appears your problem is that you are trying to access a member of $list['photoID'] at member 11, and it does not exist.