RE: [PHP] Sort an array by it's values
| From: | Dave Avent | Date: | Mon, 26 Apr 2004 14:06:07 +0000 |
| Subject: | RE: [PHP] Sort an array by it's values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184643@lists.php.net to get a copy of this message | ||
Yes, ksort
try:
http://uk.php.net/manual/en/function.ksort.php
and remeber...The PHP Manual is your friend
-----Original Message-----
From: Jeff McKeon [mailto:jmckeon@telaurus.com]
Sent: 26 April 2004 3:03 PM
To: php-general@lists.php.net
Subject: [PHP] Sort an array by it's values
Is there a command similar to asort() that will sort the elements of an
array not by their key values but by the element values?
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php