Добрый вечер ув. пользователи хотел узнать правильно ли я перевёл или нет с Mysql 39 - 41
39
PHP код:
OtelInfo[idx][oID] = cache_get_field_content_int(idx-1,"oID",connectsql);
OtelInfo[idx][oOwned] = cache_get_field_content_int(idx-1,"oOwned",connectsql);
cache_get_field_content(idx-1,"oOwner",OtelInfo[idx][oOwner],connectsql,32);
OtelInfo[idx][oX] = cache_get_field_content_float(idx-1,"oX",connectsql);
OtelInfo[idx][oY] = cache_get_field_content_float(idx-1,"oY",connectsql);
OtelInfo[idx][oZ] = cache_get_field_content_float(idx-1,"oZ",connectsql);
OtelInfo[idx][oExitX] = cache_get_field_content_float(idx-1,"oExitX",connectsql);
OtelInfo[idx][oExitY] = cache_get_field_content_float(idx-1,"oExitY",connectsql);
OtelInfo[idx][oExitZ] = cache_get_field_content_float(idx-1,"oExitZ",connectsql);
OtelInfo[idx][oExitC] = cache_get_field_content_float(idx-1,"oExitC",connectsql);
OtelInfo[idx][oBuyPrice] = cache_get_field_content_int(idx-1,"oBuyPrice",connectsql);
OtelInfo[idx][oRenda] = cache_get_field_content_int(idx-1,"oRenda",connectsql);
OtelInfo[idx][oPlata] = cache_get_field_content_int(idx-1,"oPlata",connectsql);
OtelInfo[idx][oEtag] = cache_get_field_content_int(idx-1,"oEtag",connectsql);
41
PHP код:
cache_get_value_name_int(idx,"oID", OtelInfo[idx][oID]);
cache_get_value_name_int(idx-1,"oOwned", OtelInfo[idx][oOwned]);
cache_get_value_name(idx-1,"oOwner",OtelInfo[idx][oOwner],32);
cache_get_value_name_float(idx-1,"oX",OtelInfo[idx][oX]);
cache_get_value_name_float(idx-1,"oY",OtelInfo[idx][oY]);
cache_get_value_name_float(idx-1,"oZ",OtelInfo[idx][oZ]);
cache_get_value_name_float(idx-1,"oExitX",OtelInfo[idx][oExitX]);
cache_get_value_name_float(idx-1,"oExitY",OtelInfo[idx][oExitY]);
cache_get_value_name_float(idx-1,"oExitZ",OtelInfo[idx][oExitZ]);
cache_get_value_name_float(idx-1,"oExitC",OtelInfo[idx][oExitC]);
cache_get_value_name_int(idx-1,"oBuyPrice",OtelInfo[idx][oBuyPrice]);
cache_get_value_name_int(idx-1,"oRenda",OtelInfo[idx][oRenda]);
cache_get_value_name_int(idx-1,"oPlata",OtelInfo[idx][oPlata]);
cache_get_value_name_int(idx-1,"oEtag",OtelInfo[idx][oEtag]);
39
PHP код:
cache_get_field_content(idx-1,"name",temp); strmid(name, temp, 0, strlen(temp), 32);
cache_get_field_content(idx-1,"lip",temp); strmid(ip, temp, 0, strlen(temp), 16);
cache_get_field_content(idx-1,"rip",temp); strmid(ip2, temp, 0, strlen(temp), 16);
41
PHP код:
cache_get_value_name(idx-1, "name",temp); strmid(name, temp, 0, strlen(temp), 32);
cache_get_value_name(idx-1, "lip",temp); strmid(ip, temp, 0, strlen(temp), 16);
cache_get_value_name(idx-1, "rip",temp); strmid(ip2, temp, 0, strlen(temp), 16);