mysqli_stmt::prepare
mysqli_stmt::result_metadata
MySQLi_STMT
PHP Manual

# mysqli_stmt::reset

# mysqli_stmt_reset

(PHP 5)

mysqli_stmt::reset -- mysqli_stmt_reset — Resets a prepared statement

### Descripción

Object oriented style (method):

bool mysqli_stmt::reset ( void )

Procedural style:

bool mysqli_stmt_reset ( mysqli_stmt `$stmt` )

Resets a prepared statement on client and server to state after prepare.

For now this is mainly used to reset data sent with mysqli_stmt_send_long_data().

To prepare a statement with another query use function mysqli_stmt_prepare().

### Lista de parámetros

`stmt`

  Procedural style only: A statement identifier returned by mysqli_stmt_init().

### Valores retornados

Devuelve `TRUE` si todo se llevó a cabo correctamente, `FALSE` en caso de fallo.

### Ver también

- mysqli_prepare() - Prepare a SQL statement for execution

mysqli_stmt::prepare
mysqli_stmt::result_metadata
MySQLi_STMT
PHP Manual