Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2008
    Thanked 0 Times in 0 Posts

    Top 10 Most Visited Pages, Update and Change Automatically On Home Page?

    Sorry if the title isn't too clear i'm just unsure how to explain.
    I am thinking of starting a Flash Game website and on the main page want to have links to the "Top 10" Most played games (The 10 pages that have been visited the most as each game has it's own pages).
    The following image is:

    I have no idea how to go around coding this in order to make it update as the views to the website change other than manually doing it (which would take forever!)
    Thanks a lot for your time.

  2. #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    London, England
    Thanked 2,700 Times in 2,676 Posts
    JavaScript is purely a client-side language, and has no capability to read from or write to a file (except a cookie), access a database or the client's operating system.

    This means that you will need a server-side language such as PHP to keep a record of the number of times each game has been played.

    Quizmaster: Which surname was shared by a historical outlaw called "Butch" and a fictional cowboy called "Hopalong"?
    Contestant: Lesbian.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts