|
cubrid_fetch_fieldGet 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.
例例1 cubrid_fetch_field example
上の例の出力は以下となります。 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 |