Home > PHP > Function > > ovrimos_field_num()

ovrimos_field_num()

ovrimos_field_num - Returns the (1-based) index of the output column

Syntax

int ovrimos_field_num (int $result_id, string $field_name)

Arguments

  • result_id - A result identifier, returned by ovrimos_execute() or ovrimos_exec().
  • field_name - The field name.

Description

Returns the 1-based index of the specified output column.

Version

PHP 4.0.3, 5 <= 5.0.5

Return value

Returns the index, starting at 1, or FALSE on error.