02.04.2019, 18:48
What kind of variable is this - "ranks"? If it stores multiple ranks then you're not implementing code properly. Code above included loop refers to every rank in the database which you want to load. I assume that you don't want to load everyting into one string. You've loaded them and put in the variable like id, type and "ranks" but what are you doing next? Is this all? If so, in this case every loop owerwrites it.
I can't see your database tree or global variables if there are any. Also! Your variables in the function are local, did u noticed it?
I can't see your database tree or global variables if there are any. Also! Your variables in the function are local, did u noticed it?

