mysqli_stmt::$field_countmysqli_stmt_field_countReturns the number of field in the given statement

获得行数

面向对象风格

int $mysqli_stmt->field_count;

过程化风格

int mysqli_stmt_field_count ( mysqli_stmt $stmt )