No prob, maybe I'm talking nonesense (just glanced over the code, not really tried it out). It looks like it's been obfusicated a bit, either that or he uses really horrific naming conventions so it's not that easy to pick apart in a rush (although I could probably totally figure it out if I sat down and actually looked at it).
sort Sort an array
rsort This function sorts an array in reverse order (highest to lowest).
asort Sort an array and maintain index association
arsort Sort an array in reverse order and maintain index association
ksort Sort an array by key
krsort Sort an array by key in reverse order
And if you want to roll your own:
uasort Sort an array with a user-defined comparison function and maintain index association
uksort Sort an array by keys using a user-defined comparison function
usort Sort an array by values using a user-defined comparison function
Thanks guys i am going to have a play tomorrow.
Just another question, does anyone know how to make it not display hidden folders?
There are currently 1 users browsing this thread. (0 members and 1 guests)