kfc001 Posted October 22, 2007 Share Posted October 22, 2007 I got a gaming site with 1000 diffrent games, and i want tracking/counter how many times each game has been played. Do i need to make 1000 Unique scripts for this? Is there a faster way to do it? Link to comment https://forums.phpfreaks.com/topic/74357-game-counter-need-1000-diffrent-scripts/ Share on other sites More sharing options...
Azu Posted October 22, 2007 Share Posted October 22, 2007 It would probally be better to just have one piece of code that does this. And have the 1000 games stored in the database. Then the counter thing would just select the games from the database and loop through them. $a=mysql_result("select * from games"); while($b=mysql_fetch_row($a)){ Counter stuff goes here } Link to comment https://forums.phpfreaks.com/topic/74357-game-counter-need-1000-diffrent-scripts/#findComment-375796 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.