pg_fieldisnull

(PHP3 , PHP4 )

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.


Hosted by Tonec Inc.