19.12.2014, 12:46
Para MySQL R39-2
pawn Код:
mysql_function_query(MYSQL, "SELECT `Nombre` FROM `TablaUsuarios` ORDER BY `Nombre` ASC", true, "CargarNombres", "");
forward CargarNombres();
public CargarNombres()
{
if(cache_get_row_count() == 0) return printf("No se encontraron nombres");
for(new x = 0; x < cache_get_row_count(); x++)
{
printf("%s", cache_get_row_int(x, 0));
}
return 1;
}