Raised This Month: $218 Target: $400

Need help with (!Website)

Post New Thread Reply   
Thread Tools Display Modes
Author Message
[email protected]
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 11-29-2018 , 10:12   Need help with (!Website)
Reply With Quote #1

Need help with this code i want to add the Players name
now it say this:Last Kill 1:034 AM, Thu. Nov. 29, 2018

PHP Code:
('General Statistics');
$nonhiddengamestring preg_replace('/,$/'')'$nonhiddengamestring);
$result $db->query("SELECT COUNT(playerId) FROM hlstats_Players WHERE game IN $nonhiddengamestring");
$num_players) = $db->fetch_row($result);
$num_players number_format($num_players);

$result $db->query("SELECT COUNT(clanId) FROM hlstats_Clans WHERE game IN $nonhiddengamestring");
$num_clans) = $db->fetch_row($result);
$num_clans number_format($num_clans);

$result $db->query("SELECT COUNT(serverId) FROM hlstats_Servers WHERE game IN $nonhiddengamestring");
$num_servers) = $db->fetch_row($result);
$num_servers number_format($num_servers);
$result $db->query("SELECT SUM(kills) FROM hlstats_Servers WHERE game IN $nonhiddengamestring");
$num_kills) = $db->fetch_row($result);
$num_kills number_format($num_kills);

$result $db->query("
            ORDER BY
                id DESC
            LIMIT 1
$lastevent) = $db->fetch_row($result);

if ($lastevent)
"\t\t\t\t<li>Last Kill <strong> " date('G:i:s A, D. M. d, Y'strtotime($lastevent)) . "</strong></li>";

Last edited by [email protected]; 11-29-2018 at 10:14.
sixten_8_9@ is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 15:28.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode