"petersprc" <petersprc@gmail.com> wrote in message
news:1169871152.166864.233390@j27g2000cwj.googlegroups.com...
> You could certain index the list by sub_family_id:
>
> foreach ($arr as $el) {
> $families[substr($el['sub_family_id'], 0, -2)] = $el;
> }
>
Yeah, that's pretty much the idea. Thanks for your reply.