hey i have a database table in the following form file | category | hits which i use for stats on my site how would i use php to list the files in order of the highest hits? its probably simple but i have no experience in this particular matter thanks foobar2k
select * from tablename order by hits
Thanks for the help this would be great but this puts the hits in acsending order i would like them displayed in descending
please excuse my ignorance 🙂 "after a quick glance at the mysql manual he spots keywords ASC and DESC"
lol