Ask about general coding issues or problems here.
2 posts • Page 1 of 1
I have an associative array where the $keys = a name, and the $values = a number. I need to arrange the elements based on the $value (which is a number), from greatest to least. Is there a function for this? If not, what is the best way to handle this? (NOTE: some elements have the same number value) Thanks in advance.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 6 guests