cubrid_num_cols
PECL CUBRID >= 8.3.0
cubrid_num_cols - Return the number of columns in the result set
Manual
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.