News

What I need to do is loop this array out, but sort them by the group their in, so I can arrange them in groups in my output. I.e. I need to have all "group1" looped out, then all "group2" and so ...
You can utilize the string functions available in PHP to find instances of "field_" in your array. Here is something I whipped up to test this in action.