msql_field_flags

(PHP 3 >= 3.0.7, PHP 4, PHP 5)

msql_field_flags -- Get field flags

Descrição

string msql_field_flags ( resource result, int field_offset )

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

Parâmetros

result

O resulatdo resource que esta sendo avaliado. Este resultado vem de uma chamada a msql_query().

field_offset

O índice numérico. O field_offset começa em 1.

Valores de retornado

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.