php8.5
Home/ Manual/ sqlite3 / sqlite3result/ SQLite3Result::numColumns

SQLite3Result::numColumns

PHP function Edit on GitHub ✎

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

Returns the number of columns in the result set

Description

SQLite3Result::numColumns(): int

Returns the number of columns in the result set.

Parameters Parameters

Return Values

Returns the number of columns in the result set.

Source: reference/sqlite3/sqlite3result/numcolumns.xml · from the official PHP manual (php/doc-en)