20.05.2012, 09:35
Quote:
pawn Код:
|
pawn Код:
new DBResult:Result;
Result = db_query( Database, "SELECT * FROM `table` WHERE A CONDITION" );// clan query here
for(new i;i<db_num_rows(Result);i++)
{
new string[30];
db_get_field_assoc(Result, "playername",string, 30);
//db next row to get the next result
format(minfo,sizeof(minfo),"%s\n"W"Name: "G"%s",minfo,string );
db_next_row(Result);
}
Anyways try that code , i dont know SQLite much still try.