Home > PHP > Function > mSQL > msql_field_len()

msql_field_len()

msql_field_len - Get field length

Syntax

int msql_field_len (resource $result, int $field_offset)

Arguments

  • result - The result resource that is being evaluated. This result comes from a call to msql_query().
  • field_offset - The numerical field offset. The field_offset starts at 1.

Description

msql_field_len() returns the length of the specified field.

Version

PHP 4, 5

Return value

Returns the length of the specified field or FALSE on error.