MYSQLI_STMT_CLOSE(3) 1 MYSQLI_STMT_CLOSE(3)
mysqli_stmt::close - Closes a prepared statement
Object oriented style
SYNOPSIS
bool mysqli_stmt::close (void )
DESCRIPTION
Procedural style
bool mysqli_stmt_close (mysqli_stmt $stmt)
Closes a prepared statement. mysqli_stmt_close(3) also deallocates the statement handle. If the current statement has pending or unread
results, this function cancels them so that the next query can be executed.
PARAMETERS
o $
stmt -Procedural style only: A statement identifier returned by mysqli_stmt_init(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
mysqli_prepare(3).
PHP Documentation Group MYSQLI_STMT_CLOSE(3)