View Full Version : Top 10 Most Visited Pages, Update and Change Automatically On Home Page?

09-14-2008, 02:17 PM
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.

Philip M
09-14-2008, 03:01 PM
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.