Yeah Mark, your right. To exactly tell you what I'm doing. This is part of the news script I made at my site:
http://www.outpostd34.com/3do In the '3do Archives' Section near the bottom I have a table called "Latest 10 3do's", and you see it has listed. Rating and the number of downloads it has. Well I want to change it to the 10 most downloaded files. Everytime someone clicks on to download a file. It opens up the $filename.3df (The $filename variable is the number of which the news file was added. thats how I get the number) and then adds 1 to the current number of downloads. So I want to open all the files. And sort them by the number of downloads the have. This is what one of the files looks like:
15|zanardi|
[email protected]|Jedi Knight|A shotgun. Works with dflt.mat. Has custom textures|9-24-00|zanardi|
[email protected]|Shot Gun|dflt.cmp|shotgun.zip|nshot.jpg|2|2|7|weapon|
The first number 2 that you see (Feild number 12) is the number of downloads the file has. the other numbers are just part of the rating system. Hope that helps ya a little bit.
------------------
My Freeware Board