Selecting custom indexes in array

ptrkuokbb

New Member
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 \[code\]15\[/code\] and \[code\]28\[/code\]. I guess this means that I can't use a \[code\]foreach\[/code\] loop (or is there a way I could). How would you do this?\[code\]myarray = ( someindex = ( field1 = field2 = ); 15 = ( field1 = field2 = ); 28 = ( field1 = field2 = ); anothertext = ( field1 = field2 = ););\[/code\]
 
Back
Top