mysqli
PHP Manual

mysqli_stmt_reset

stmt->reset()

(No version information available, might be only in CVS)

stmt->reset() — Resets a prepared statement

说明

Procedural style:

bool mysqli_stmt_reset ( mysqli_stmt $stmt )

Object oriented style (method):

mysqli_stmt
bool reset ( void )

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

参数

stmt

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

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


mysqli
PHP Manual