Closes a prepared statement (PECL)
bool maxdb_stmt_close ( resource stmt )

Procedural style:

Object oriented style (method):

maxdb_stmt {
  bool maxdb_stmt->close();

Closes a prepared statement. maxdb_stmt_close() also deallocates the statement handle pointed to by stmt. If the current statement has pending or unread results, this function cancels them so that the next query can be executed.

Return values

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

See also