PDA

View Full Version : How to store SQL data in arrays


Gior
10-09-2014, 20:48
Hi,
I want to store some data from a SQL Table in Arrays. (The Results)
Let's say I have this line:
Format(query, sizeof(query), "SELECT * FROM banlist WHERE permanent = '0'")
So, How can I store the given data in Array?


Thanks in Advance. :D

Marcus_Brown001
10-09-2014, 23:21
What do you want in the arrays? That query string, or the results that the query provides?

sim242
10-10-2014, 04:06
"data from a SQL Table in Arrays." I think he means he wants the results stored in an array.

Gior
10-10-2014, 06:53
What do you want in the arrays? That query string, or the results that the query provides?

"data from a SQL Table in Arrays." I think he means he wants the results stored in an array.

The results, like sim242 said.