Making a top 10 in my site
I am currently facing a problem with designing my site. I have an "area" in my site, where I want the most viewed products (which will be on my site) to be displayed. Something like top 10 most viewed articles of my site. How do you make such content display itself automatically according to the amount of times it has been viewed and make this content update itself automatically?
Thank you for your answers,
Re: Making a top 10 in my site
First you have to attached a view number to the articles and each time it is viewed you update the count by 1.
Next is you have to query your database for articles sort on the view count.
|All times are GMT +5.5. The time now is 12:46.|