Well, I plan to do an online population statistics, but I don't know where to start. I only know how to count when they are online, but I don't know how to count when they are offline:
Well, I plan to do an online population statistics, but I don't know where to start. I only know how to count when they are online, but I don't know how to count when they are offline:
PHP Code:
SELECT uc.LastUpdateDate, uc.Gamertag, uc.CustomerID, ud.CustomerID, ud.IsDeveloper, ud.AccountType, uc.GameMapId From UsersChars as uc JOIN UsersData as ud ON uc.CustomerID = ud.CustomerIDWHERE DATEDIFF(MINUTE, uc.LastUpdateDate, GETDATE()) <= 1
use the code from lukasccbixa it will work! :D
no problem