Raised This Month: $ Target: $400
 0% 

SQL QUERY


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-02-2011 , 05:25   Re: SQL QUERY
Reply With Quote #6

Read what the function does before you try to understand anything:
http://www.amxmodx.org/funcwiki.php?...sult&go=search
And I quote:
Quote:
Retrieves the current result.
A successful query starts at the first result, so you should not call SQL_NextRow() first.
Passing no extra params - return int
Passing one extra param - return float in 1st extra arg
Passing two extra params - return string in 1st arg, max length in 2nd
So if you want a string, you'll need to parse it into the next args, functions don't return strings.
__________________
Hunter-Digital 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 03:31.


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