Returns the number of field in the given statement

mysqli_stmt::fetch
mysqli_stmt::free_result
MySQLi_STMT
PHP Manual

# mysqli_stmt->field_count

# mysqli_stmt_field_count

(PHP 5)

mysqli_stmt->field_count -- mysqli_stmt_field_count — Returns the number of field in the given statement

### Description

Object oriented style

mysqli_stmt
int $field_count;

Procedural style

int mysqli_stmt_field_count ( mysqli_stmt `$stmt` )
Warning

This function is currently not documented; only its argument list is available.

mysqli_stmt::fetch
mysqli_stmt::free_result
MySQLi_STMT
PHP Manual