preload
Session based coordinates mapper Var Vars
Feb 27

You can sort an array in many different ways using PHP using many different functions, here are a few.

sort($array);
asort($array);
ksort($array);

These three different sorting functions all can be sorted in ascending order.

The reverse functions are:

rsort($array);
arsort($array);
krsort($array);

Leave a Reply

 
 
Please enter the word above into the box below, the word is not case sensitive.
 
If you have trouble reading the word above then click here to load a new word.
Security word: