Forum und email

msql_field_type

(PHP 4, PHP 5)

msql_field_type — Get field type

Popis

string msql_field_type ( resource $result , int $field_offset )

msql_field_type() gets the type of the specified field index.

Parametre

result

Výsledný resource, ktorý je vyhodnocovaný. Tento výsledok pochádza z volania msql_query().

field_offset

Ofset číselného poľa. Field_offset začína na 1.

Vrátené hodnoty

The type of the field. One of int, char, real, ident, null or unknown. This functions will return FALSE on failure.