您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

ovrimos_num_fields

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

ovrimos_num_fields — Returns 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.