PHP Programing language

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

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: