wonder if anyone can help;
I have an a two dimensional array which I need to group by any common “job number” element;
Here’s an example – I’m just playing with the idea at the moment, The $i is just a counter that iterates through the array results;
$galleryItems[$i][0] = 'example title';//the title
$galleryItems[$i][1] = 'example description';//description
$galleryItems[$i][2] = 'the client';//client
$galleryItems[$i][3] = '00000';//job number
Any ideas on how to group these toegther, eg so if had a number of 00000 job items it would stick all these toegther, and any 00001 would be group together etc.
Thanks
or maybe that’s what you mean