MySQL question - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MySQL question (
/showthread.php?tid=149875)
MySQL question -
lolumadd - 23.05.2010
hey i do something like: "SELECT * FROM `row`"
I make the results into like field[0], field[1]. If im putting it in a variable like money (obviously a number) should i do strval(field[0]); cuz it has to be a number?
And vise versa, if the variable is a string, should i do strval(field[0]);
Thanks
Re: MySQL question -
lolumadd - 23.05.2010
Problem solved by myself