tryphp_func_ksort.php:
"35","Ben"=>"37","Joe"=>"43"); ksort($age); foreach($age as $x=>$x_value) { echo "Key=" . $x . ", Value=" . $x_value; echo "
"; } ?>
Key=Ben, Value=37
Key=Joe, Value=43
Key=Peter, Value=35