update : 2015.11.03
php.shukuma.com검색:
|
cubrid_num_fields(PECL CUBRID >= 8.3.0) cubrid_num_fields — Return the number of columns in the result set 설명
int cubrid_num_fields
( resource
$result
)This function returns the number of columns in the result set, on success, or it returns FALSE on failure. 반환값Number of columns, on success. -1 if SQL sentence is not SELECT.
예제Example #1 cubrid_num_fields() example
<?php 위 예제의 출력: Row Num: 6 Column Num: 2 |