downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

pg_field_prtlen> <pg_field_name
[edit] Last updated: Fri, 17 May 2013

view this page in

pg_field_num

(PHP 4 >= 4.2.0, PHP 5)

pg_field_num返回字段的编号

说明

int pg_field_num ( resource $result , string $field_name )

pg_field_num() 返回给定 PostgreSQL result 资源中的 field_name 所代表的列(字段)的编号。字段编号从 0 开始。如果出错本函数返回 -1。

例子参见 pg_field_name() 页。

Note:

本函数以前的名字为 pg_fieldnum()

参见 pg_field_name()



add a note add a note User Contributed Notes pg_field_num - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites