SQLite3_result
PHP Manual

SQLite3_result::numColumns

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

SQLite3_result::numColumnsReturns the number of columns in the result set

説明

public int SQLite3_result::numColumns ( void )

Returns the number of columns in the result set.

パラメータ

この関数にはパラメータはありません。

返り値

Returns the number of columns in the result set.

例1 SQLite3_result::numColumns() example

<?php
/* ... */
?>

上の例の出力は、たとえば 以下のようになります。

...


SQLite3_result
PHP Manual