Raised This Month: $ Target: $400
 0% 

Ability to pass MySQL Results?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
harbu
Senior Member
Join Date: Aug 2004
Location: Finland
Old 09-12-2005 , 12:16  
Reply With Quote #6

Oh my god even this isn't working...

Code:
public plugin_natives() {     register_native( "hrp_query", "h_query", 1);         register_library( "HRPSave" ); } // MySQL Query ( Use hrp_select for selecting data from MySQL ) public h_query( query[], Result:result) {     param_convert(1);     result = dbi_query( g_db, query )           new ret;     if( result == RESULT_FAILED ) ret = -1;     if( result == RESULT_NONE )ret = 0;     if( result == RESULT_OK) ret = 1;           return ret; }
__________________
harbu is offline
Send a message via MSN to harbu
 



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 14:19.


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