Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SQLite3ResultSQLite3Result::columnType>
^SQLite3ResultLast updated: Mon, 26 Oct 2026

SQLite3Result::columnName

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SQLite3Result::columnName — Returns the name of the nth column

Description

public function SQLite3Result::columnName(int $column): string|false

Returns the name of the column specified by the column. Note that the name of a result column is the value of the AS clause for that column, if there is an AS clause. If there is no AS clause then the name of the column is unspecified and may change from one release of libsqlite3 to the next.

Parameters

column

The numeric zero-based index of the column.

Return Values

Returns the string name of the column identified by column, or false if the column does not exist.


<SQLite3ResultSQLite3Result::columnType>
^SQLite3ResultLast updated: Mon, 26 Oct 2026