Question about counter things

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
Some of you (Slothie, DefectTalsiman) has helped me in my counter thread in the marketplace. But they had no time for making me the scripts right now so I've decided to do it myself.

Here is the thing: I building a flash gaming site. On every game there should be an hitcounter for number of plays. Then on the main page there should be an total play counter. My plan is that I found a really good tutorial on how to make an sql counter. I should make the code only count the page hits of the game and then echo it on the main page for the total counter. Then for the invidual game play times I think I should use simple hit counters. Now I wonder if I can put the counter codes in an file called counter.php and then use an include statement on every game. Would the counter show the same value everywhere or will it show for just that game???
 
Top