SQLITE_FIELD_NAME(3) SQLITE_FIELD_NAME(3)
sqlite_field_name - Returns the name of a particular field
SYNOPSIS
string sqlite_field_name (resource $result, int $field_index)
DESCRIPTION
Object oriented style (method):
string SQLiteResult::fieldName (int $field_index)
string SQLiteUnbuffered::fieldName (int $field_index)
Given the ordinal column number, $field_index, sqlite_field_name(3) returns the name of that field in the result set $result.
PARAMETERS
o $result
- The SQLite result resource. This parameter is not required when using the object-oriented method.
o $field_index
- The ordinal column number in the result set.
RETURN VALUES
Returns the name of a field in an SQLite result set, given the ordinal column number; FALSE on error.
The column names returned by SQLITE_ASSOC and SQLITE_BOTH will be case-folded according to the value of the sqlite.assoc_case configuration
option.
PHP Documentation Group SQLITE_FIELD_NAME(3)