mysql_affected_rows

PHP 4, PHP 5
mysql_affected_rows - Get number of affected rows in previous MySQL operation
Manual
Code Examples

Example #1 mysql_affected_rows example

Result: Records deleted: 10 Records deleted: 0
PHP Version:

Example #2 mysql_affected_rows example using transactions

Result: Updated Records: 10
PHP Version: