Hi,
i have made a small script which show all online player.
Demo :
i have made a small script which show all online player.
PHP:
<center>
<h1>Online Players</h1><br>
<b><?
mysql_connect('localhost','username','password');
mysql_select_db('bdd');
$result = mysql_query("SELECT * FROM accounts WHERE online = '1'");
$rows = mysql_fetch_array($result);
echo $rows['username'] ;
?>
Demo :
To view the content, you need to sign in or register
Last edited: