18.01.2019, 09:40
1.
Find:
Replace with:
2.
Find:
Replace with:
3.
Just change 0 number to loop rows because you already get the rows so why you must add 0?.
Example:
why loop? because you must load all data from rows.
Find:
PHP Code:
cache_get_value_name(0, "ID", fetch);
BuildingInfo[id][ID]= strval(fetch);
PHP Code:
cache_get_value_name_int(0, "ID", BuildingInfo[id][ID]);
Find:
PHP Code:
cache_get_row_count(rows);
cache_get_field_count(fields);
PHP Code:
cache_get_row_count(rows);
Just change 0 number to loop rows because you already get the rows so why you must add 0?.
Example:
PHP Code:
cache_get_row_count(rows);
for(new i; i < rows; i++)
{
//do something here
cache_get_value_name_int(i, "ID", BuildingInfo[id][bID]);
}