PHP Programing language

adplus-dvertising
Write A Program to Sorting a Associate Arrays
Previous Home Next
<html>
<html>
<head>
<title>Sorting array</title>
</head>
<body>
<?php
   $a = array("A" => "India", "B" => "Pakistan", 
   "C" => "Nepal");
   sort($a);
   print_r($a);
?>
</body>
</html>

Output:

Previous Home Next