update : 2015.11.03
php.shukuma.com검색:
|
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.
예제Example #1 cubrid_num_cols() example
<?php 위 예제의 출력: Row Num: 6 Column Num: 2 참고
|