db2_num_rows()
db2_num_rows - Returns the number of rows affected by an SQL statement
Syntax
int db2_num_rows (
resource $stmt)
Arguments
- stmt - A valid stmtresource containing a result set.
Description
Returns the number of rows deleted, inserted, or updated by an SQL statement.
Version
PHP PECL ibm_db2 >= 1.0.0
Return value
Returns the number of rows affected by the last SQL statement issued by the specified statement handle.