SA-MP Forums Archive
Mysql R7 to R39 help - 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: Mysql R7 to R39 help (/showthread.php?tid=575103)



Mysql R7 to R39 help - cjeje84 - 23.05.2015

HI there,

i got little problem here

I got my code on mysql R7 i want to change it back on R39, here the code i want to change, and i dont know how to do it


mysql_store_result();

mysql_fetch_row_format(gQuery);

mysql_free_result();

thank for help


Re: Mysql R7 to R39 help - Konstantinos - 24.05.2015

I doubt your code is for R7 as it supported only threaded queries so it's for R5 or R6.

Read a tutorial and understand how threaded queries work: https://sampforum.blast.hk/showthread.php?tid=337810
Take a look at the wiki for mysql functions for R33 and above versions: https://sampwiki.blast.hk/wiki/MySQL/R33
An example script: https://github.com/pBlueG/SA-MP-MySQ...stem-cache.pwn