AW: How to sort a Multidimensional array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Sorry for multipost. My ISP delayed sends for about an houre. I didn't
recognize it.

-----Ursprüngliche Nachricht-----
Von: Popbox [mailto:webmaster@xxxxxxxxxxx] 
Gesendet: Mittwoch, 2. März 2005 23:14
An: php-general@xxxxxxxxxxxxx
Betreff:  How to sort a Multidimensional array?

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux