I was just wondering what the outcome will be if I do the following:
query_sql("SELECT * FROM `awesome_table` WHERE `ID`=1",.@tempvar$); awesome_table:
ID Name Val1 Val2 Val3
(int) (string) (int) (int) (int)
1 Hi 0 1 0
2 Hello 1 1 1
My question is, would it automatically store all the information in the row selected into the array like so:
.@tempvar$[0] = 1
.@tempvar$[1] = "Hi"
.@tempvar$[2] = 0
.@tempvar$[3] = 1
.@tempvar$[4] = 0
or would it only store the first value in the row?
also would it automatically store the "int" values as "string"?
Need reply fast please and thank you ![]()
Edited by joecalis, 30 June 2014 - 10:02 PM.













