Jump to content

how to get most viewed topics


sheraz

Recommended Posts

Yeh, there's generally 2 ways this is done.

 

A column within the articles table of the database which increments on each view, or a completely separate table to store data on hits. Unless you require further complex tracking of hits, the first is easiest and will suit your need.

 

If you don't know how to increment a column within a table, I would consider learning a bit more mysql before you attempt any other related tasks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.