PHP код:
for(new i = 0; i != sizeof(GZInfo); i++)
Переменной i изначально нужно присвоить 1, потому-что дальше, при загрузке, у вас идёт i-1, т.е при первой итерации строчки
PHP код:
GZInfo[i][gCoords][0] = cache_get_field_content_float(i-1, "First_Coordinate", connect_to_mysql);
GZInfo[i][gCoords][1] = cache_get_field_content_float(i-1, "Second_Coordinate", connect_to_mysql);
GZInfo[i][gCoords][2] = cache_get_field_content_float(i-1, "Third_Coordinate", connect_to_mysql);
GZInfo[i][gCoords][3] = cache_get_field_content_float(i-1, "Fourth_Coordinate", connect_to_mysql);
GZInfo[i][gFrak] = cache_get_field_content_int(i-1, "Group", connect_to_mysql);
Будут принимать в первый параметр -1, т.к 0-1 = -1