Db get field assoc int


Function db_get_field_assoc_int get the contents of field as an integer with specified name.
Using an invalid handle will crash your server! Get a valid handle by using db_query. But it's protected against NULL references.
This function name starts with a lowercase letter.

(DBResult:dbresult, const field[])
int dbresult The result to get the data from.
string field The fieldname to get the data from

Return Values:
Retrieved value as integer (number).


Related Functions
The following functions may be useful, as they are related to this function in one way or another.