|
cubrid_num_cols(PECL CUBRID >= 8.3.0) cubrid_num_cols — Return the number of columns in the result set Описание
int cubrid_num_cols
( resource $result
)
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. Список параметров
Возвращаемые значенияNumber of columns, when process is successful. -1, if SQL statement is not SELECT. ПримерыПример #1 cubrid_num_cols() example
<?php Результат выполнения данного примера: Row Num: 6 Column Num: 2 Смотрите также
|
|