PDO如何确定删除操作是否执行 PDO 使用函数 //返回受影响的行 $stmt->rowCount() mysqli 使用函数 //返回受影响的行 $mysqli_stmt->affected_rows; 个人记录