odbc_close

(PHP 4, PHP 5, PHP 7)

odbc_closeClose an ODBC connection

说明

odbc_close ( resource $connection_id ) : void

Closes down the connection to the database server.

参数

connection_id

ODBC 连接标识符,详见 odbc_connect()

返回值

没有返回值。

注释

Note:

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

关注编程学问公众号