odbc_close(): close the connection.
Its syntax is: void odbc_close (int connection_id)
<?
$connect = @odbc_connect("myAccessDB", "user", "secret") or die("Could not connect to ODBC database!");
print "Currently connected to ODBC database!";
odbc_close($connect);
?>
Related examples in the same category