I need to create a website counter that decrements value in real time (reduces number by 1 every 10 minutes). This can be done easily in JavaScript i think. However, I need to store the current number (not client side), so that visitors can see the new version of the number every time they visit the website.
The counter is about population of the country.
I am thinking of using data base and PHP for storing information about the current number, but I am wondering if there is a better solution.
Anyone got any ideas? Thanks