GetNextSQL Conversion/update Gstyle to BlueG?
#5

Code:
SELECT `%s` FROM `%s` ORDER BY `id` ASC
This and the whole function you posted in general is -bad practice-! Don't use it. Not every table has an 'id' field. Aswell, only a small portion of your SELECT-queries will actually look like this query.

pawn Code:
return firstresult;
Returning results like that won't work with BlueG's plugin in combinantion with threaded queries as the plugin will call a callback once the query is completed successfully. You'll have to think about another way to process your presented wish.
Reply


Messages In This Thread
GetNextSQL Conversion/update Gstyle to BlueG? - by Deal-or-die - 15.05.2014, 05:00
Re : GetNextSQL Conversion/update Gstyle to BlueG? - by S4t3K - 15.05.2014, 09:49
Re: Re : GetNextSQL Conversion/update Gstyle to BlueG? - by Konstantinos - 15.05.2014, 10:03
Re: GetNextSQL Conversion/update Gstyle to BlueG? - by Deal-or-die - 15.05.2014, 15:07
Re: GetNextSQL Conversion/update Gstyle to BlueG? - by Campbell- - 15.05.2014, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)