odbc_close

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

odbc_close -- Close an ODBC connection

Description

void odbc_close ( resource connection_id )

odbc_close() will close down the connection to the database server associated with the given connection identifier.

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