odbc_close

(PHP 4, PHP 5, PHP 7)

odbc_closeClose an ODBC connection

说明

void odbc_close ( resource $connection_id )

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.

User Contributed Notes

mallsop at ind dot net 17-May-2000 04:33
On microsoft servers, use the odbc_free_result command.