Hello dear scripters,
For some reason this code crashes my server, is there any other way to get all rows from a mysql_fetch_assoc?
local row;
while(row = mysql_fetch_assoc(result))
{
MessagePlayer(row["type"] + " " + row["rank"], player, 255, 0, 0);
}
It only happens where there are more then 1 records in the database. I used the same example from the wikipedia. Result here is a mysql_query