Get the number of affected rows by the last INSERT, UPDATE, REPLACE or DELETE query associated with link_identifier.
int mysql_affected_rows ([ resource $link_identifier = NULL ] )
Records deleted: 10 Records deleted: 0
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
The MySQLi or PDO_MySQL Should be used.