How to sort a Multidimensional array?
| From: | Mirco Blitz | Date: | Wed, 02 Mar 2005 22:35:45 +0000 |
| Subject: | How to sort a Multidimensional array? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209866@lists.php.net to get a copy of this message | ||
Hi,
i have a multidimensional array that look like this:
$arr=array($key=>array('item0key'=>'item0',
'item1key'=>'item1', 'item2key'=>'item2',
'item3key'=>'item3', 'item4key'=>'item4'));
Lineview:
0 item0key = item0
item1key = item1
item2key = item2
item3key = item3
item4key = item4
1 item0key = item0
item1key = item1
item2key = item2
item3key = item3
item4key = item4
2 item0key = item0
item1key = item1
item2key = item2
item3key = item3
item4key = item4
4 item0key = item0
item1key = item1
item2key = item2
item3key = item3
item4key = item4
How can I sort such an array, depending on the Userentry by the Item values?
Thank you very much
Mirco Blitz
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193