msql_fieldname

msql_fieldname -- フィールド名を得ます

説明

string msql_fieldname(int query_identifier, int フィールド);

msql_fieldname() は指定されたフィールドの名前を返します。 query_identifier は、クエリー ID であり、 フィールド はフィールドインデックスです。 msql_fieldname($result, 2); は、 結果 ID が指す結果において 2 番目のフィールドの名前を返します。