PHP Manual: ingres_num_fields
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 queryDescription
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()