<?php $r=array("Sophia"=>"31","Jacob"=>"41","William"=>"39","Ramesh"=>"40"); echo "ascending order sort by value"."<br>"; asort($r); foreach($r as $k=>$v) { echo $v."<br>"; } ?>
You have javascript disabled. You will not be able to edit any code.