|
cubrid_fetch_fieldGet column information from a result and return as an object Description
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:
Parameters
Return ValuesObject with certain properties of the specific column, when process is successful.
ExamplesExample #1 cubrid_fetch_field example
<?php The above example will output: 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 |