Web aym.pekori.to

msql_field_flags

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

msql_field_flags -- フィールドのフラグを取得する

説明

string msql_field_flags ( resource result, int field_offset )

msql_field_flags() は、指定したフィールドの フィールドフラグを返します。

パラメータ

result

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

field_offset

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

返り値

指定したキーのフィールドフラグを含む文字列を返します。 とりうる値は: primary key not nullnot nullprimary keyunique not null あるいは unique です。