Count the rows already fetched from a query

# ifx_num_rows

(PHP 4, PHP 5 < 5.2.1)

ifx_num_rows — Count the rows already fetched from a query

### Descrierea

ifx_num_rows ( resource `$result_id` ) : int

Gives the number of rows fetched so far for a query with `result_id` after a ifx_query() or ifx_do() query.

### Parametri

`result_id`

  `result_id` is a valid resultid returned by ifx_query() or ifx_prepare() (select type queries only!).

### Valorile întoarse

Returns the number of fetched rows or `FALSE` on errors.

### A se vedea și

- ifx_num_fields() - Returns the number of columns in the query