Jump to content

xconsat

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by xconsat

  1.  

     

    i guess they just wrote their custom SQL statement to retrieve the info at the top of the header .

     

    references : http://www.w3schools.com/php/php_mysql_select.asp

     

    Possible SQL Query

    SELECT COUNT(`char_id`) FROM `char` WHERE `online` = 1
    

     

    Thanks for the reply Emistry. But then, wordpress was based on HTML code, the code as mentioned in the above link reference is based on php. I think it wont work if i add those code & statement.

    Well, i manage to add the status online using a simple coding. However now looking foward to add Player Online.. Got any idea?

     

    Capture.png

    Nvm. Got it done by a help from my friend .. server status and player online done  :)

     

    Capture123.png

     

    Hope there is more active member in this community to help around in the future..

     

     

    Hi Ace, can u share for code please ?

×
×
  • Create New...