Raised This Month: $ Target: $400
 0% 

Transfer by mysql


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Torge
Veteran Member
Join Date: Oct 2011
Old 03-07-2013 , 13:43   Re: Transfer by mysql
Reply With Quote #2

Through SQL_ThreadQuery().

Example:
PHP Code:
Load(id)
{
    new 
szAuthID[35];
    
get_user_authid(idszAuthIDcharsmax(szAuthId));

    new 
szData[1];
    
szData[0] = id;

    new 
szQuery[256];
    
formatex(szQuerycharsmax(szQuery), "SELECT * FROM test WHERE steamid = '%s'"szAuthID);

    
SQL_ThreadQuery(g_SqlTuple"Query_Handler"szQueryszDatasizeof(szData));
}

public 
Query_Handler(...)
{
    
// And so on

Torge 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 21:36.


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