'XXXX person has read this article' script

Discussion in 'Programming' started by littleking, May 1, 2007.

  1. #1
    Hi there,

    I want to do up a simple script that says "XXXX person has read this article"

    And XXXX will increase everytime the page is shown.

    Can I use Javascript to do this, with cookie to track unique users?

    Thanks.
     
    littleking, May 1, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    To track the number of total persons, you will have to store the value in a database.

    Are the articles stored in a database?
    What programming language are you using?
    What database type? MySQL?
     
    nico_swd, May 1, 2007 IP