Forum und email
sqlite_field_name

sqlite_field_name

(PHP 5)

sqlite_field_name

(no version information, might be only in CVS)

SQLiteResult->fieldName

(no version information, might be only in CVS)

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

Popis

string sqlite_field_name ( resource result, int field_index )

Object oriented style (method):

class SQLiteResult {

string fieldName ( int field_index )

}class 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.

Seznam parametrů

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.

Návratové hodnoty

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

Názvy sloupců zjištěné pomocí SQLITE_ASSOC a SQLITE_BOTH will be upraveny z hlediska malých/velkých písmen podle hodnoty konfiguračního parametru sqlite.assoc_case.