PHP3 Manual
PrevNext

pg_FieldNum

pg_FieldNum -- Returns the number of a columns

Description

string pg_fieldnum(int result_id, int field_name);

pg_FieldNum() will return the number of the column slot that corresponds to the named field in the given PosgreSQL result identifier. Field numbering starts at 0. This function will return -1 on error.


PrevHomeNext
pg_FieldNameUppg_FieldPrtLen