update : 2015.11.03
php.shukuma.com검색:
|
cubrid_fetch_field(PECL CUBRID >= 8.3.1) cubrid_fetch_field — Get column information from a result and return as an object 설명
object cubrid_fetch_field
( resource
$result
[, int $field_offset = 0
] )This function returns an object with certain properties of the specific column. The properties of the object are:
인수
반환값Object with certain properties of the specific column, when process is successful.
예제Example #1 cubrid_fetch_field() example
<?php 위 예제의 출력: array(4) { [0]=> string(5) "20001" [1]=> string(5) "16681" [2]=> string(3) "KOR" [3]=> string(9) "1988-9-30" } --- Field Properties --- name: athlete_code table: game default value: "" max length: 0 not null: 1 primary key: 1 unique key: 1 multiple key: 0 numeric: 1 blob: 0 type: integer unsigned: 0 zerofill: 0 |