PHP - Manual: odbc_num_fields
2024-12-22
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_num_fields — Number of columns in a result
$statement
): intGets the number of fields (columns) in an ODBC result.
Returns the number of fields, or -1 on error.
官方地址:https://www.php.net/manual/en/function.odbc-num-fields.php