Raised This Month: $ Target: $400
 0% 

SQLx to global variable problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 01-07-2007 , 21:39   Re: SQLx to global variable problem
Reply With Quote #5

Actually, I forgot to mention that I had SQL_ResultInt inside the loop instead of outside of the loop and it still gave the wrong results. One strange thing to note is the fact that when I printed out ResultInt inside of the SQL function, it returned 250, the number I assigned to Number before the loop.

Anyway, thanks for showing me how to pass things in. Hopefully I won't have anymore problems... I'm going to go ahead and remove the loop, seeing as it's causing some problems... and I'm not trying to retrieve more than one piece of data at a time.

THANK YOU SO MUCH... I have been waiting for a response for quite some time.

Where is the documentation on SQLx other than Hawk's tutorial? I heard Bailopan wrote something about it, but the only help I got from bail was when I read inside of SQLx.inc...

[Edit] Oh, and data[] would have to be size [3], because some id's are two digits long...

Also, can you keep adding data to the end of the threadquery function, such as two player id's at once?

Last edited by Bad_Bud; 01-08-2007 at 00:07.
Bad_Bud 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 22:26.


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