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.


add a note add a note User Contributed Notes
mallsop at ind dot net
17-May-2000 10:33
On microsoft servers, use the odbc_free_result command.