Raised This Month: $ Target: $400
 0% 

Solved SQL Database


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sky_pg
Member
Join Date: Apr 2012
Old 01-28-2017 , 06:39   Re: SQL Database
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
You would do:
Code:
SELECT * FROM `global_stats` WHERE `timestamp` < '%d';

OR

SELECT Field1, Field2, Field3 FROM `global_stats` WHERE `timestamp` < '%d';
In your query handler (IgnoreHandle) you would then read the results and write to log file.


im really noob at this if u can give me example that would be nice...

PHP Code:
formatex(szTemp,charsmax(szTemp),"SELECT `steamid-name`, `xp`, `level` FROM `global_stats` WHERE `timestamp` < '%d';"curTime
sky_pg is offline
 



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 20:53.


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