Ovrimos SQL 函数
PHP Manual

ovrimos_num_fields

(PHP 4 >= 4.0.3, PHP 5 <= 5.0.5)

ovrimos_num_fieldsReturns the number of columns

说明

int ovrimos_num_fields ( int $result_id )

Returns the number of columns in the specified result identifier.

参数

result_id

A result identifier, returned by ovrimos_execute() or ovrimos_exec().

返回值

Returns the number of columns as an integer, or FALSE on error.

参见


Ovrimos SQL 函数
PHP Manual