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