Welcome to the RaGEZONE - MMORPG development forums.

[Release] Total Users and Total Accounts for website

This is a discussion on [Release] Total Users and Total Accounts for website within the Lunentia forums, part of the - Old Archived Files category; PHP Code: Total Accounts:  <? $db  =  mssql_connect ( "localhost" ,  "sa" ,  "password" );  mssql_select_db ( "AccountDB" , $db );  $sql  ...

Results 1 to 5 of 5
  1. #1
    49 6d 20 73 65 78 79
    Rank
    Member +
    Join Date
    Jun 2006
    Location
    London, Ontario
    Posts
    652
    Liked
    0

    [Release] Total Users and Total Accounts for website

    Click
    PHP Code:
    Total Accounts: <? $db mssql_connect("localhost""sa""password"); 
    mssql_select_db("AccountDB",$db); 
    $sql "select strClientID from USERINFOBASE"
    $result mssql_query($sql); 
    echo 
    mssql_num_rows($result); 
    ?>

    Total Characters: <? $db mssql_connect("localhost""sa""password"); 
    mssql_select_db("LunentiaTest",$db); 
    $sql "select strUserID from USERDATA"
    $result mssql_query($sql); 
    echo 
    mssql_num_rows($result); 
    ?>
    If you desire to know the truth, you also need the courage to accept it.

  2. #2
    NO0b P3rs0n
    Rank
    Member +
    Join Date
    May 2006
    Location
    Việt Nam
    Posts
    764
    Liked
    0

    Re: [Release] Total Users and Total Accounts for website

    edited :
    <? $db = mssql_connect("localhost", "sa", "password");
    mssql_select_db("AccountDB",$db);
    echo "Total Accounts: ";
    $sql = "select strClientID from USERINFOBASE";
    $result = mssql_query($sql);
    echo mssql_num_rows($result);
    echo "Total Characters:";
    $sql = "select strUserID from USERDATA";
    $result = mssql_query($sql);
    echo mssql_num_rows($result);
    ?>

    H2R Network....da first network in Viet Nam...
    comming soon...

  3. #3
    Newbie
    Rank
    Member
    Join Date
    Mar 2007
    Posts
    3
    Liked
    0

    Re: [Release] Total Users and Total Accounts for website

    tks :)

  4. #4
    Bobbax Hotel Opening Soon
    Rank
    Member +
    Join Date
    Feb 2008
    Location
    Bobbaxhotel
    Posts
    621
    Liked
    0

    Re: [Release] Total Users and Total Accounts for website

    thanks,
    i dont play this but i can use it for my site (:

  5. #5
    Registered
    Rank
    Member
    Join Date
    Mar 2011
    Posts
    19
    Liked
    0

    Re: [Release] Total Users and Total Accounts for website

    Thanks =D

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •