Home > PHP > Function > Informix > ifx_affected_rows()

ifx_affected_rows()

ifx_affected_rows - Get number of rows affected by a query

Syntax

int ifx_affected_rows (resource $result_id)

Arguments

  • result_id - A valid result id returned by ifx_query() or ifx_prepare().

Description

Returns the number of rows affected by a query associated with result_id.

Version

PHP 4, <=5.2.0

Return value

Returns the number of rows as an integer.