pg_FieldIsNull

(PHP 3, PHP 4 >= 4.0.0)

pg_FieldIsNull -- Teste si un champs est à NULL.

Description

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

pg_fieldisnull() teste si un champs est à NULL. pg_fieldisnull() retourne 0 si le champs n'est pas NULL. pg_fieldisnull() retourne 1 si le champs est à NULL. Le champs peut être identifié avec son nom ou son index numérique (commencant à 0).