Jump to content
  • 0

Where can I Found this?


Famous

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

<?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;

?>

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

Where can I Found this?

you already found it...:)

BTW what are you trying to ask?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

It seems like an online player counter.. from the looks of it. Part of it at least..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

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 by zhen
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...