Menu
can an array be sorted from highest to lowest or vice versa?
here’s an example
[CODE]
$testarray [] = array (“7”,
“6”,
“3”,
“3”,
“4”,
“2”,
“1”) ;
print_r($testarray);
can i show it as something like this:
[QUOTE]
Array ( [0] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 ) )