|
cubrid_fetch_fieldGet column information from a result and return as an object Beschreibung
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:
Parameter-Liste
RückgabewerteObject with certain properties of the specific column, when process is successful.
BeispieleBeispiel #1 cubrid_fetch_field example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
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
|