Forum Moderators: coopster

Message Too Old, No Replies

counting article views

         

dkin

6:47 pm on Sep 3, 2005 (gmt 0)

10+ Year Member



I have a news system on my site and would like to count how many times each article is viewed, how could I do this?

ergophobe

9:08 pm on Sep 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Add a column to the articles table and, every time it's requested, increment by one.

If you don't have an articles table, you could use the URL as the primary key and increment by one.