03.07.2016, 19:18
I wonder if this code can be optimized?
PHP код:
new componentes[70];
cache_get_field_content(0, "vComponentes", componentes, mysql, sizeof(componentes));
sscanf(componentes, "p<|>iiiiiiiiiiiiii",
VehInfo[i][vComponentes][0], VehInfo[i][vComponentes][1], VehInfo[i][vComponentes][2], VehInfo[i][vComponentes][3], VehInfo[i][vComponentes][4],
VehInfo[i][vComponentes][5], VehInfo[i][vComponentes][6], VehInfo[i][vComponentes][7], VehInfo[i][vComponentes][8], VehInfo[i][vComponentes][9],
VehInfo[i][vComponentes][10], VehInfo[i][vComponentes][11], VehInfo[i][vComponentes][12], VehInfo[i][vComponentes][13]);