![]() |
![]()
| ![]() |
![]()
Namemysql_affected_rows - returns the number of rows affected by the last operation Synopsis
DescriptionReturns the number of affected rows by the last operation associated with mysql, if the operation was an “upsert” (INSERT, UPDATE, DELETE or REPLACE) statement, or -1 if the last operation failed. Parameters:mysql is a connection identifier, which was previously allocated by mysql_init(3) and connected by mysql_real_connect(3). Notes:
Return valueReturns the number of affected rows or -1 on error. See also
|