Any body know PHP
i want to add most online today (max players joined the server today) to my site can anybody help me with that please answer
like freestyle website
thank you
;)
Any body know PHP
i want to add most online today (max players joined the server today) to my site can anybody help me with that please answer
like freestyle website
thank you
;)
Last edited by polat alemdar; 30-05-13 at 11:41 AM.
With the mssql_* functions:
PHP Code:$row = mssql_fetch_assoc(mssql_query("SELECT MAX(PlayerCount) AS PlayerCount FROM ServerLog WHERE (Time > '".date("Y-m-d")."')"));
echo $row['PlayerCount'];
thank you for helping but i have error when i add it to my website, so can u send it again with full php source i mean with <div> and all
and the error is:
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for '3.0/DST' instead in C:\AppServ\www\index.php on line 345
Last edited by polat alemdar; 30-05-13 at 09:54 PM.