msql_field_flags

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

msql_field_flags -- Get field flags

説明

string msql_field_flags ( resource result, int field_offset )

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

パラメータ

result

評価された結果 リソース。 この結果は、msql_query()のコールにより得られたものです。

field_offset

数値フィールドオフセット。 field_offset は、1から始まります。

戻り値

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.