PDOStatement::columnCount
PDOStatement::columnCount
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)
PDOStatement::columnCount — Returns the number of columns in the result set
Description
public int PDOStatement::columnCount ( void )
Use PDOStatement::columnCount() to return the number of columns in the result set represented by the PDOStatement object.
If the PDOStatement object was returned from PDO::query(), the column count is immediately available.
If the PDOStatement object was