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. FALSE on failure. ПримерыПример #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 lenght: 5
not null: 1
primary key: 1
unique key: 1
multiple key: 0
numeric: 1
blob: 0
type: integer
unsigned: 0
zerofill: 0
|
||