Home > PHP > Function > Firebird/InterBase > ibase_affected_rows()

ibase_affected_rows()

ibase_affected_rows - Return the number of rows that were affected by the previous query

Syntax

int ibase_affected_rows (resource $link_identifier)

Arguments

  • link_identifier - A transaction context. If link_identifier is a connection resource, its default transaction is used.

Description

This function returns the number of rows that were affected by the previous query (INSERT, UPDATE or DELETE) that was executed from within the specified transaction context.

Version

PHP 5

Return value

Returns the number of rows as an integer.