I am trying to test the function sort() which is supposed to sort this array in ascending alphabetical order , but it is not working ...
Here is the code
<html>
<head> <title> Test</title> </head>
<body>
<?php
$product = array('oil'=>100 , 'Tires'=>500 , 'Sparkplus'=> 100);
echo sort($product);
?>
</body>
</html>
Here is the code
<html>
<head> <title> Test</title> </head>
<body>
<?php
$product = array('oil'=>100 , 'Tires'=>500 , 'Sparkplus'=> 100);
echo sort($product);
?>
</body>
</html>