odbc_close
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Close an ODBC connection
Description
odbc_close(Odbc\Connection $odbc): void
Closes down the connection to the database server.
Parameters
odbcId
Return Values
Void
Changelog
| Version | Description |
|---|
Notes
Note
This function will fail if there are open transactions on this connection. The connection will remain open in this case.