Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/php/function.pg-fieldnum.html
Дата изменения: Sun Feb 3 22:53:04 2002
Дата индексирования: Tue Oct 2 05:31:17 2012
Кодировка:
pg_fieldnum

pg_fieldnum

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

pg_fieldnum -- Returns the field number of the named field

Description

int pg_fieldnum ( resource result, string field_name)

pg_fieldnum() will return the number of the column (field) slot that corresponds to the field_name in the given PostgreSQL result resource. Field numbering starts at 0. This function will return -1 on error.

See also pg_fieldname().