Close an ODBC connection

odbc_close

(PHP 4, PHP 5, PHP 7, PHP 8)

odbc_closeClose an ODBC connection

說明

odbc_close(resource $odbc): void

Closes down the connection to the database server.

參數

odbc

ODBC 連線識別符號,詳見 odbc_connect()

返回值

沒有返回值。

註釋

注意:

This function will fail if there are open transactions on this connection. The connection will remain open in this case.

Leave a Reply

Your email address will not be published. Required fields are marked *