Why is this PHP simple code not working ? 10 points for your HELP !!!?

Boogyman

New member
Ok , I am testing this PHP code for sorting an array but when I test it , nothing is displayed on the screen ... This is support to sort the array

Here is the code

<html>
<head> <title> try </title> </head>
<body>


<?php


$product = array('oil'=>100 , 'Tires'=>500 , 'Sparkplus'=> 100);

sort($product);


?>

</body>
</html>
No I wanna use the SORT function sort() as show in the BOOK .. I know how to use LOOPS
 
Back
Top