0
<?
$n = 0;
$limite = 10;
while ($n <= $limite-1){
$dates = array($user["members"][$n]["rank"]);
foreach ($dates as $value){
echo $value;
}
$n++;
}
?>
it returns the following value: 87 41 34 32 88 26 16 26 48 0
however I would like some method or form that they present themselves in the ascending order...
I’ve tried everything and I can’t
Have you tried the Sort ?
– Valdeir Psr
Sort array php values!, sort multidimensional array php, Alphabetical order at While?, How to organize items from an array in alphabetical order?, How to sort an array with php, Alphabetical sorting in Array with objects in PHP array.
– NoobSaibot
Legal link: https://stackoverflow.com/questions/17364127/how-can-i-sort-arrays-and-data-in-php
– novic
Possible duplicate of How to display the values and differences of arsort(); krsort(); ksort(); Sort(); and etc in Excerpts?
– novic