vedi mysql_affected_rows()

http://it.php.net/manual/en/function...ected-rows.php