Sort of a multidimensional array
| From: | Armand Turpel | Date: | Wed, 11 Jun 2003 09:18:02 +0000 |
| Subject: | Sort of a multidimensional array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151031@lists.php.net to get a copy of this message | ||
Hi,
Is there a simple way to sort the following array structure by the array
cell 'title'=>'TXxxxxx'?
$x[0][0] =
array(array('id'=>1,'title'=>'TXxxxxx'),array('id'=>2,'title'=>'T2'));
$x[0][1] = array('id'=>10,'title'=>'Test1');
$x[1][0] =
array(array('id'=>3,'title'=>'TXxxxxx'),array('id'=>6,'title'=>'T3'));
$x[1][1] = array('id'=>11,'title'=>'Test2');
.
.
.
.
.
.
Thanks
Armand