How do i sort by: most viewed, most commented, most popular, best rating, etc?
Posted
by MrRioku
on Stack Overflow
See other posts from Stack Overflow
or by MrRioku
Published on 2010-03-24T22:45:55Z
Indexed on
2010/03/24
22:53 UTC
Read the original article
Hit count: 141
Pretty basic question.. I kno.., I just don't know how its done.
I see it everywhere. I want to be able to sort out my content in my websites by most viewed, most commented, most popular, best rating, etc...with a drop down list, check box, etc... but I don't know how "sort by" works? Which scripting language should it be written in? Javascript? PHP? Can it be done with XML? Do I have to have a database set up like MySQL? Is there a good tutorial anywhere that explains it? I need to be explained the exact process of how it works. As you can see I really need direction.. Your help is much appreciated :D
© Stack Overflow or respective owner