PHP Dokumentation: Mysqli-stmt close
12. Januar 2010 von werner
mysqli_stmt::close
mysqli_stmt_close
(PHP 5)
mysqli_stmt::close — mysqli_stmt_close — Closes a prepared statement
Beschreibung
Object oriented style (method):
bool mysqli_stmt::close ( void )
Procedural style:
bool mysqli_stmt_close ( mysqli_stmt $stmt )
Closes a prepared statement. mysqli_stmt_close() 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.
Parameter-Liste
- stmt
Nur bei prozeduralem Aufruf: ein vonmysqli_stmt_init() zurückgegebensStatementobjekt.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- mysqli_prepare() – Prepare a SQL statement for execution