25.10.2012, 00:49
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.
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.