peacecodotnet
Programmer
Is there a function that will alphabetize an array? But I don't want it only to print the array, but also to rearrange the order of the array so that all of the values are in alphabetical order.
For example, if I made this array:
$array[0]="z";
$array[1]="a";
$array[2]="b";
I want the function to make it like this:
$array[0]="a";
$array[1]="b";
$array[2]="z";
Thanks in advance for help.
Peace out,
Peace Co.
For example, if I made this array:
$array[0]="z";
$array[1]="a";
$array[2]="b";
I want the function to make it like this:
$array[0]="a";
$array[1]="b";
$array[2]="z";
Thanks in advance for help.
Peace out,
Peace Co.