SA-MP Forums Archive
Use string in query - 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: Use string in query (/showthread.php?tid=567913)



Use string in query - Banditukas - 17.03.2015

Hi,

How to use string in mysql query ? mysql_tquery("query ...", "callback","s[50]",String );

S[50] is good ?


AW: Use string in query - Kaliber - 17.03.2015

No just write it like this:

Код:
mysql_tquery("query ...", "callback","s",String );
Only in sscanf you must use this specifer