 |
|
Senior Member
Join Date: Oct 2006
Location: The internet
|

01-07-2007
, 21:39
Re: SQLx to global variable problem
|
#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.
|
|
|
|