Db get field int


Function db_get_field_int get the content of a field as an integer from db_query.
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, field = 0)
int dbresult The result to get the data from.
int field The field 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.