want to join us? register, it's easy | help
category icon

How to Sort an Array in PHP

in PHP added by goodphptutorials, on 2/10/2006 beginner tutorials

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.

comment save report
Mon, Oct 2nd 2006, 12:59
clicks today
clicks this month
clicks all time