# ovrimos_num_fields

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

ovrimos_num_fields — Returns the number of columns

### Description

int ovrimos_num_fields ( int `$result_id` )

Returns the number of columns in the specified result identifier.

### Parameters

`result_id`

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

### Return Values

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

### See Also

- ovrimos_num_rows()