i dont think this is what i want
i want to add some names in the array
$array [ tv , banana , apple ]
i want to sort them like this
$array [ apple , banana , tv ]
and also i want to know how to element to the arrays ?
in C programming languge i do this
in array[] ;
array[0] = 'tv' ;
array[1] = 'banana' ;
array[2] = 'apple' ;
how i can do these in php ?