PHP Portal » PHP Handbuch » mysqli_stmt::close

Werbung

mysqli_stmt::close


(PHP 5)

mysqli_stmt::close -- mysqli_stmt_closeCloses 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 von mysqli_stmt_init() zurückgegebens Statementobjekt.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch