I want to know if it is possible for this script to print the number of players online in green instead of black. Can anybody help me?
<?php
//first you need to define db info
define('mySQL_hostname', ''); //database IP
define('mySQL_database', ''); //database name
define('mySQL_username', ''); //database user
define('mySQL_password', ''); //database password
//connects to mysql
$db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password )
or die( 'Error connecting to mysql<br><br>'.mysql_error() );
//connects to Database
$db_select = mysql_select_db( mySQL_database, $db_link )
or die( 'Error connecting to Database<br><br>'.mysql_error() );
//selects desired table
$query=mysql_query("SELECT count(level) FROM characters where online = 1");
$chars = mysql_fetch_array($query);
print '<B> Online players: '.$chars[0];
Hello,
Owning and creating my own version of GF Vanganth with many home made customs since many years I'm now looking for someone already having or knowing how to properly update this extender in order to adapt packets in order to connect with modern client.
Feel free to contact me.
Thanks.
https://jmp.sh/WxX9CUj8
We successfully managed to transfer simple dialogs from html to Unity ui Toolkit. So far the simplest ones but they look better than the original!
Greetings, Adventurer!
Get ready to conquer the battlefield— L2Custom.com is opening on Saturday!
🗓️ Start Date: 2024-11-23, 18:00 GMT+2
⚔️ Server Details:
Chronicle: Interlude | Rates: High
Custom Items for an enhanced PvP experience
Full Buffer for convenience
Olympiad every week (A-Grade only)
Castle Sieges every week
🔥 Be part of the action from Day 1—gather your clan, challenge your rivals, and claim your dominance in the ultimate PvP playground!
📥 Register and Download Now at www.l2custom.com.
See you on the battlefield!
- L2Custom Team
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
disorder25
I want to know if it is possible for this script to print the number of players online in green instead of black. Can anybody help me?
5 answers to this question
Recommended Posts