PHP : Function Reference : ODBC Functions (Unified) : odbc_close_all
Examples ( Source code ) » odbc_close_all
<?php
//connect to database three times
$Connection1 = odbc_connect("inventory", "guest", "guest");
$Connection2 = odbc_connect("inventory", "guest", "guest");
$Connection3 = odbc_connect("inventory", "guest", "guest");
//close all the connections
odbc_close_all();
?>
|