25.10.2012, 00:50
Quote:
db_get_field fetches the field content passed by a field number.
db_get_field_assoc fetches the field that matches the fieldname you passed. In theory, db_get_field_assoc should be slower than db_get_field, because db_get_field_assoc has to loop through the fields and compare names. |
Quote:
db_get_field gets a value from the specified field ID, while db_get_field_assoc gets a value from the specified field name.
https://sampwiki.blast.hk/wiki/Db_get_field https://sampwiki.blast.hk/wiki/Db_get_field_assoc |