Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php rsort retain keys

//Sort an array in reverse order and maintain index association
arsort($myArray) 
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #rsort #retain #keys
ADD COMMENT
Topic
Name
3+4 =