Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $DB_HOST = 'localhost';
- $DB_USER = '***';
- $DB_PASS = '**';
- $DB_NAME = '****';
- $mysqli = new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
- $sql_channels = "SELECT * FROM chan ORDER BY currentusers DESC";
- $result_channels = mysql_query( $sql_channels );
- while( $row_channels = @mysql_fetch_assoc( $result_channels ) ) {
- $channel_currentusers = $row_channels['currentusers'];
- $channel_maxusers = $row_channels['maxusers'];
- $channel_chan = str_replace("#", "", $row_channels['channel']);
- ?>
- <?PHP echo $channel_currentusers; ?>
- <?PHP
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement