SQLITE_NUM_FIELDS(3) SQLITE_NUM_FIELDS(3)
sqlite_num_fields - Returns the number of fields in a result set
SYNOPSIS
int sqlite_num_fields (resource $result)
DESCRIPTION
Object oriented style (method):
int SQLiteResult::numFields (void )
int SQLiteUnbuffered::numFields (void )
Returns the number of fields in the $result set.
PARAMETERS
o $result
- The SQLite result resource. This parameter is not required when using the object-oriented method.
RETURN VALUES
Returns the number of fields, as an integer.
SEE ALSO
sqlite_changes(3), sqlite_num_rows(3).
PHP Documentation Group SQLITE_NUM_FIELDS(3)