SQLite for loop only showing last DB entry?
#3

Quote:
Originally Posted by Misiur
View Post
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
That still only shows the last entry.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)