(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_num_fields — 結果中的欄位數
$statement
取得 ODBC 結果集中的欄位(列)數。
statement
odbc_exec() 返回的 ODBC 結果物件。
返回欄位數,如果發生錯誤則返回 -1。