I have an nested array that's a mix of words and numbers. It looks like this conceptually. I need to process only numbered indexes such as 15
and 28
. I guess this means that I can't use a foreach
loop (or is there a way I could). How would you do this?
myarray = (
someindex = (
field1 =
field2 =
);
15 = (
field1 =
field2 =
);
28 = (
field1 =
field2 =
);
anothertext = (
field1 =
field2 =
);
);