SQLite for loop only showing last DB entry?
#2

Well, your string will contain only information about last row because you use format on each iteration. I suggest something like:
pawn Code:
//Above the loop
new tmp[499+1];
//Find
db_next_row(Result);
//Add before
strcat(tmp, string);
Now you have all strings in tmp variable
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)