msql_field_name

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

msql_field_name -- Get the name of the specified field in a result

説明

string msql_field_name ( resource result, int field_offset )

msql_field_name() gets the name of the specified field index.

パラメータ

result

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

field_offset

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

戻り値

The name of the field or FALSE on failure.

以下も参照ください

msql_field_len()