26.05.2016, 23:40
hi, friends.
i have a problem, the problem is I am sending a query, but this is not sent.
result from cache_get_query_string is ""
i have a problem, the problem is I am sending a query, but this is not sent.
pawn Код:
mysql_query(MySQL,"SELECT * FROM svr_rangos");
new cont_dat;
while(cont_dat < cache_num_rows())
{
infRango[cont_dat][ID] = cache_get_field_content_int(cont_dat,"rangID");
infRango[cont_dat][Propiedad] = cache_get_field_content_int(cont_dat,"rangPropiedad");
cache_get_field_content(cont_dat,"rangNom_ES",infRango[cont_dat][NombreES]);
cache_get_field_content(cont_dat,"rangNom_ING",infRango[cont_dat][NombreING]);
infRango[cont_dat][MinEXP] = cache_get_field_content_int(cont_dat,"rangExp_min");
cont_dat++;
}
cant_Rangos=cont_dat;
new query[64];
cache_get_query_string(query);
printf("Executed query: \"%s\"", query);
printf("Rangos Totales: %d",cant_Rangos);