Db get field int

db_get_field_int

Description:
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.


Parameters:
(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).


Examples:


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