SA-MP Forums Archive
making queries in cikle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: making queries in cikle (/showthread.php?tid=618823)



making queries in cikle - MerryDeer - 10.10.2016

Hi,

Can i send queries in cikle?


Re: making queries in cikle - iLearner - 10.10.2016

Explain yourself better


Re: making queries in cikle - Vince - 10.10.2016

It's called a loop. What I imagine when I see "cikle" is this:



Yes, you can send queries in a loop but whether that's a good idea depends on what you're doing in those queries. Doing inserts is usually not a problem but there are usually better options in the case of selects.