Edit - i've worked out a better way to do this, but if anyone knows if any easy way to do this i'd be interested, just to learn more php.
Here's a slightly odd request: I have data in an array that's in columns, and i'd like to put it into rows instead, to make it easier to display.
ie
1 2 3 4
5 6 7 8
would turn into
1 5
2 6
3 7
4 8
Is there anything built into PHP to do this, or does anyone have any pointers about how to get it done? I'm newish to php, and i'm finding array processing the hardest thing to get used to after Java.
Thanks for any assistance 🙂