Categories

Updated: 10/03/2006

How to Sort an Array in PHP

It is often necessary to arrange the elements in an array in numerical order from highest to lowest values (descending order) or vice versa (ascending order). If the array contains string values, alphabetical order may be needed. Sorting a one-dimensional arrays is quite easy.
©2019 A--9.com