15.09.2015, 12:00
Код:
db_get_field_assoc(qresult, "business_id", value, 5); // business ID business[i][business_id] = strval(value); db_get_field_assoc(qresult, "business_owner", value, 48); // business Owner format(business[i][business_owner], 48, value); db_get_field_assoc(qresult, "business_title", value, 48); // business Title format(business[i][business_title], 48, value); db_get_field_assoc(qresult, "business_bought", value, 20); // business X Position business[i][business_bought] = strval(value); db_get_field_assoc(qresult, "business_price", value, 20); // business X Position business[i][business_price] = strval(value); db_get_field_assoc(qresult, "busX", value, 20); // business X Position business[i][busX] = floatstr(value); db_get_field_assoc(qresult, "busY", value, 20); // business Y Position business[i][busY] = floatstr(value); db_get_field_assoc(qresult, "busZ", value, 20); // business Z Position business[i][busZ] = floatstr(value); db_get_field_assoc(qresult, "interiorX", value, 20); // Interior X Position business[i][interiorX] = floatstr(value); db_get_field_assoc(qresult, "interiorY", value, 20); // Interior Y Position business[i][interiorY] = floatstr(value); db_get_field_assoc(qresult, "interiorZ", value, 20); // Interior Z Position business[i][interiorZ] = floatstr(value); db_get_field_assoc(qresult, "interiorAngle", value, 20); // Interior Angle Position business[i][interiorA] = floatstr(value); db_get_field_assoc(qresult, "interiorID", value, 20); // Interior ID business[i][interiorID] = strval(value);