Home > PHP > Function > SQLite > SQLiteUnbuffered->fieldName()

SQLiteUnbuffered->fieldName()

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

Syntax

string SQLiteUnbuffered->fieldName (resource $result, int $field_index, int $field_index, int $field_index, resource $result, int $field_index, int $field_index, int $field_index, resource $result, int $field_index, int $field_index, int $field_index)

Arguments

  • 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.
  • field_index
  • field_index
  • 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.
  • field_index
  • field_index
  • 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.
  • field_index
  • field_index

Description

Object oriented style (method):

Version

PHP 5, PECL sqlite >= 1.0.0

Return value

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