mysql_affected_rows( <mysql> )


Module: MySQL

Summary:

Returns the number of rows changed, deleted, or inserted by the last statement if it was an UPDATE, DELETE, or INSERT.



Example:

rows = mysql_affected_rows( mysql_handler );



Required Args:

  • 1 : <mysql> MYSQL connection handler