Forum und email

sqlite_field_name

SQLiteResult->fieldName

SQLiteUnbuffered->fieldName

(No version information available, might be only in CVS)

SQLiteUnbuffered->fieldName — Returns the name of a particular field

설명

string sqlite_field_name ( resource $result , int $field_index )

Object oriented style (method):

SQLiteResult
string fieldName ( int $field_index )
SQLiteUnbuffered
string fieldName ( int $field_index )

Given the ordinal column number, field_index , sqlite_field_name() returns the name of that field in the result set result .

매개변수

result

The SQLite result resource. This parameter is not required when using the object-oriented method.

field_index

The ordinal column number in the result set.

반환값

Returns the name of a field in an SQLite result set, given the ordinal column number; FALSE on error.

SQLITE_ASSOCSQLITE_BOTH로 반환한 열 이름은 sqlite.assoc_case 설정 옵션에 따라서 대소문자가 변환됩니다.