SA-MP Forums Archive
Best way - 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: Best way (/showthread.php?tid=305831)



Best way - Abreezy - 24.12.2011

Whats the best way to load and save data, using Mysql ?

I currently use sscanf fully, but it seems to be troublesome, so I was wondering what do you guys think is the best way to go about it, I just want to finally move on without bugs.




If you wouldn't mind talking to me about problems i encounter, add my msn aswell: anthony@losangeles-rp.com


Re: Best way - §с†¶e®РµРe - 24.12.2011

To load and save data there are mysql plugins availible and also mysql and sscanf are different things if you remove sscanf you will have to use strval which is harder than sscanf....


Re: Best way - XFlawless - 24.12.2011

use while loop and mysql_fetch_field_row(..).