JavaScript Editor Javascript debugger     Website design 


mysqli_stmt_reset

Resets a prepared statement (PHP 5)
bool mysqli_stmt_reset ( mysqli_stmt stmt )

Procedural style:

Object oriented style (method):

mysqli_stmt {
  bool reset();
}

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().

Parameters

stmt

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

Return Values

Returns TRUE on success or FALSE on failure.