mysqli_stmt->affected_rows
mysqli_stmt::attr_set
MySQLi_STMT
PHP Manual

# mysqli_stmt::attr_get

# mysqli_stmt_attr_get

(PHP 5)

mysqli_stmt::attr_get -- mysqli_stmt_attr_get — Used to get the current value of a statement attribute

### 설명

Object oriented style (method):

int mysqli_stmt::attr_get ( int `$attr` )

Procedural style:

int mysqli_stmt_attr_get ( mysqli_stmt `$stmt` , int `$attr` )

Gets the current value of a statement attribute.

### 인수

`stmt`

  순차 형식 전용: mysqli_stmt_init()가 반환한 statement 식별자.

`attr`

  The attribute that you want to get.

### 반환값

Returns `FALSE` if the attribute is not found, otherwise returns the value of the attribute.

mysqli_stmt->affected_rows
mysqli_stmt::attr_set
MySQLi_STMT
PHP Manual