Famous Posted July 25, 2012 Posted July 25, 2012 <?php $connection = mysql_connect("<myhost>", "<myuser>", "<mypass>"); mysql_select_db("ragnarok", $connection); $query = mysql_query("SELECT `online` FROM `login` WHERE `online`='1'"); $numonline = mysql_num_rows($query); echo $numonline; ?> Quote
malufett Posted July 25, 2012 Posted July 25, 2012 Where can I Found this? you already found it... BTW what are you trying to ask? Quote
Mystery Posted July 25, 2012 Posted July 25, 2012 It seems like an online player counter.. from the looks of it. Part of it at least.. Quote
Famous Posted July 25, 2012 Author Posted July 25, 2012 (edited) my friend ask me he need this script comming from my server but we dont know what excatly place should it be find....... I think its from mysql but im not pretty sure of the exact location Edited July 25, 2012 by zhen Quote
Question
Famous
<?php
$connection = mysql_connect("<myhost>", "<myuser>", "<mypass>");
mysql_select_db("ragnarok", $connection);
$query = mysql_query("SELECT `online` FROM `login` WHERE `online`='1'");
$numonline = mysql_num_rows($query);
echo $numonline;
?>
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.