English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The odbc_close() function closes an ODBC connection.
void odbc_close ( resource $connection_id )
Close the connection with the database server.
No value returned
Serial Number | Parameters and Description |
---|---|
1 | connection_id It contains connection ID information |
Try the following example, odbc_close closes the connection opened by odbc_open
<?php $input_ID = odbc_open("w3codebox","user","pass"); odbc_close($input_ID); ?>