pg_field_is_null

(PHP 4 >= 4.2.0)

pg_field_is_null -- Teste si un champs est à NULL.

Description

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

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

Note : Auparavant, cette fonction s'appelait pg_fieldisnull().