PHP 2 boyutlu bir dizi sıralama

0 Cevap

Herkes yardımcı olabilir merak ediyorum;

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

Herhangi bir fikir nasıl örneğin grup bu toegther, böylece eğer 00000 iş bütün bu toegther sopa öğeleri ve herhangi 00001 bir dizi vb birlikte grup olacaktır vardı

Teşekkürler

0 Cevap