PHP Manual
Prev |  | Next

# ifx_num_fields

(PHP 3 >= 3.0.3, PHP 4, PHP 5)

ifx_num_fields -- Returns the number of columns in the query

## Description

int ifx_num_fields ( resource result_id )

Returns the number of columns in query for result_id or `FALSE` on error

After preparing or executing a query, this call gives you the number of columns in the query.

Prev | Home | Next
ifx_nullformat | Up | ifx_num_rows