mysql_affected_rows
PHP 4, PHP 5
mysql_affected_rows - Get number of affected rows in previous MySQL operation
Example #1 mysql_affected_rows example
Result: Records deleted: 10
Records deleted: 0
Example #2 mysql_affected_rows example using transactions
Result: Updated Records: 10