![]() |
|
playersonline - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Off-Topic (The Outer World) (https://lckb.dev/forum/forumdisplay.php?fid=198) +---- Forum: General Discussion (https://lckb.dev/forum/forumdisplay.php?fid=147) +---- Thread: playersonline (/showthread.php?tid=336) |
- DeadlyHitrate - 11-03-2011 how to know how many players are online in ur server any commnd or program pls? - Darquise - 11-05-2011 Look at tools - deadlegend - 11-05-2011 /count_pc - Warmonger - 11-05-2011 Try something like. <?php // MySQL Info $mysql = array( host => "localhost", user => "root", pass => "root" ); $con = mysql_connect($mysql[host],$mysql[user],$mysql[pass]); $count = mysql_query("SELECT COUNT(*) FROM newproject_db.t_users WHERE a_zone_num <> -1",$con); echo $count; ?> - Darquise - 11-07-2011 you only have to use the tool form fabi |