Php/docs/function.odbc-field-type

提供:Dev Guides
< Php
2020年12月14日 (月) 12:24時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

odbc_field_type

(PHP 4, PHP 5, PHP 7)

odbc_field_typeフィールドのデータ型を返す


説明

odbc_field_type ( resource $result_id , int $field_number ) : string

指定された ODBC 結果 ID において指定番号で参照されるフィールドの SQL 型を取得します。


パラメータ

result_id
結果 ID。
field_number
フィールド番号。フィールド番号は 1 から始まります。


返り値

フィールドの型を表す文字列、あるいはエラー時に false を返します。