Hi,
I am having a small problem with array.
I have an array which may look like this: array(6,"*","-",7);
when I sort these it looks like * - 6 7
What I am trying to do is sort it so that it sorts the - as the first item
So I am trying to end up with an array that looks like this: - 6 7 (with the and - swapped around)
none of the sort functions seem to be able to do this.
Perhaps the usort would but I am not sure I quite understand how I would use that function to create my own order for the array.
Any Help would be greatly appreciated.