[SOLVED] Listing data in order (most to least)
Posted: Wed May 03, 2006 2:24 pm
Ok, What I am doing right now is certain links on my website i am using count.php to save how many clicks it has had to file.
Lets say I have 10 files each with a number of clicks wrote to it.
I've opened these files and put them into variables ("$1" - "$10")
Now I want to sort them into order starting with the most number of clicks to the least (and any of the same number of clicks can just be randomly placed but still in the right place on the list)
I know i've explained that in a really bad way lol but does anyone understand and can help?
Lets say I have 10 files each with a number of clicks wrote to it.
I've opened these files and put them into variables ("$1" - "$10")
Now I want to sort them into order starting with the most number of clicks to the least (and any of the same number of clicks can just be randomly placed but still in the right place on the list)
I know i've explained that in a really bad way lol but does anyone understand and can help?