mysqli_stmt::$affected_rows

mysqli_stmt::$affected_rows

mysqli_stmt_affected_rows

(PHP 5, PHP 7)

mysqli_stmt::$affected_rows -- mysqli_stmt_affected_rowsReturns the total number of rows changed, deleted, or inserted by the last executed statement

Description

Object oriented style

Procedural style

int mysqli_stmt_affected_rows ( mysqli_stmt $stmt )

Returns the number of rows