pg_fieldisnull

(PHP 3, PHP 4 >= 4.0.0)

pg_fieldisnull -- Test if a field is NULL

Description

int pg_fieldisnull (int result_id, int row, mixed field)

Test if a field is NULL or not. Returns 0 if the field in the given row is not NULL. Returns 1 if the field in the given row is NULL. Field can be specified as number or fieldname. Row numbering starts at 0.