Home > PHP > Function > > ovrimos_num_fields()

ovrimos_num_fields()

ovrimos_num_fields - Returns the number of columns

Syntax

int ovrimos_num_fields (int $result_id)

Arguments

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

Description

Returns the number of columns in the specified result identifier.

Version

PHP 4.0.3, 5 <= 5.0.5

Return value

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