SQLite
#3

You should use the corresponding function
PHP код:
LabelInfo[i][LabelID] = db_get_field_assoc_int(qresult"Label_ID"); // Label ID
db_get_field_assoc(qresult"Label_Text"LabelInfo[i][LabelText], 30); // Label Text 
Quote:
Originally Posted by a_sampdb.inc
native db_get_field(DBResult:dbresult, field, result[], maxlength);
native db_get_field_int(DBResult:result, field = 0);
native Float:db_get_field_float(DBResult:result, field = 0);

native db_get_field_assoc(DBResult:dbresult, const field[], result[], maxlength);
native db_get_field_assoc_int(DBResult:result, const field[]);
native Float:db_get_field_assoc_float(DBResult:result, const field[]);
Reply


Messages In This Thread
SQLite - by SilverStand - 24.01.2016, 10:08
Re: SQLite - by valych - 24.01.2016, 10:39
Re: SQLite - by Nero_3D - 24.01.2016, 10:50
Re: SQLite - by SilverStand - 24.01.2016, 10:55
Re: SQLite - by SilverStand - 24.01.2016, 11:18
Re: SQLite - by Nero_3D - 24.01.2016, 11:45
Re: SQLite - by SilverStand - 24.01.2016, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)