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

### Opis

Styl obiektowy

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

Styl proceduralny

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

Gets the current value of a statement attribute.

### Parametry

`stmt`

  Tylko styl proceduralny: Identyfikator stanu zwrócony przez mysqli_stmt_init().

`attr`

  The attribute that you want to get.

### Zwracane wartości

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