PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have started my own games website. I store each game information in a mysql database. Also each game has its own unique ID. How can I store the hits for each unique visitor for each game in each of the games information in the database?
You could store each visitors IP address($_SERVER['REMOTE_ADDR']) in your database and then for every unique address increase your hit counter.
If you have high levels of traffic an easier option would be to create a cookie when each user visits your pages - if a cookie doesn't exist they are a new user!