Como almacenar todos los datos de una fila MySQL
#6

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)