mysql_affected_rows 返回delete update insert 实际变更的行记录数 具体参考:http://www.php.net/manual/zh/function.mysql-affected-rows.php