Forum und email

msql_field_flags

(PHP 4, PHP 5)

msql_field_flags — Get field flags

Popis

string msql_field_flags ( resource $result , int $field_offset )

msql_field_flags() returns the field flags of the specified field.

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

Returns a string containing the field flags of the specified key. This can be: primary key not null, not null, primary key, unique not null or unique.