Maybe adding a 'where' clause like:
And then looping the query for each server.
Of course the fields 'server' and 'game' would have to exist in the table. You could hardcode these values as parameters or they could be read from another table(s).
select players from gnet_servers where server=$myserver and game=$mygame order by t_time desc
And then looping the query for each server.
Of course the fields 'server' and 'game' would have to exist in the table. You could hardcode these values as parameters or they could be read from another table(s).