ingres_num_fields

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.4)

ingres_num_fields --  Get the number of fields returned by the last query

Description

int ingres_num_fields ( [resource link] )

ingres_num_fields() returns the number of fields in the results returned by the Ingres server after a call to ingres_query()

See also ingres_query(), ingres_fetch_array(), ingres_fetch_object(), and ingres_fetch_row().


add a note add a note User Contributed Notes
burckhardtNOSPAM at CUTTHISgsf dot de
23-Jan-2002 11:25
HI, i am currently porting a MySQL-DB over to Ingres.
Be aware that the argument in the function call of ingres_num_fields is different from MySQL: mysql_num_fields (resource result) and ingres_num_fields (resource link)