PHP Manual
Prev |  | Next

# pg_fieldprtlen

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

pg_fieldprtlen -- Returns the printed length

## Description

``int pg_fieldprtlen` (resource result, int row_number, string field_name)`

pg_fieldprtlen() returns the actual printed length (number of characters) of a specific value in a PostgreSQL `result`. Row numbering starts at 0. This function will return -1 on an error.

See also pg_fieldsize().

Prev | Home | Next
pg_fieldnum | Up | pg_fieldsize