ok, I got a problem.
I need to know how many characters the plugin found when I ask for a account ID.

lets say I want to get all characters for account "1"
there are 5 characters in the database:
Code:

account|name |size
1 |Hans | 2
1 |Franz | 3
1 |Lutz | 1
2 |Tim | 3
3 |John | 2



temp = mySQL_ExecQuery("Select * from Charaktere where Account = 1");
And... now?
the game doesnt know how much characters there are.
intval = mySQL_GetVal(1,x); = account
intval = mySQL_GetStr(temp_string,2,x); = Name
intval = mySQL_GetVal(3,x); = Size

if X is higher than 3, the whole plugin will crash.
so I can't just go trough all rows and if it won't return anything then it were the last row.
what should I do?
I even can't use "SELECT COUNT( * ) FROM " because the query function does only return a 1 for sucessful and 0 for error :/