Jump to content
  • 0

Where can I Found this?


Question

Posted

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

Posted (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 by zhen

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...