cubrid_num_cols

PECL CUBRID >= 8.3.0
cubrid_num_cols - Return the number of columns in the result set
Manual
Code Examples

cubrid_num_cols( resource$result ): int

The cubrid_num_cols function is used to get the number of columns from the query result. It can only be used when the query executed is a SELECT statement.

Parameters

result

Result.

Return Values

Number of columns, when process is successful.

false, if SQL statement is not SELECT.

Related Functions

Example of cubrid_num_cols

Show all examples for cubrid_num_cols

PHP Version:


Function cubrid_num_cols:

CUBRID Functions

Most used PHP functions