odbc_close_all

(PHP 4, PHP 5)

odbc_close_allClose all ODBC connections

Description

void odbc_close_all ( void )

odbc_close_all() will close down all connections to database server(s).

Parameters

This function has no parameters.

Return Values

No value is returned.

Notes

Note:

This function will fail if there are open transactions on a connection. This connection will remain open in this case.

Коментарии

Apparently, it doesn't really close *all* connections; just those used by the current script.

If you are using persistent connections, every time a script does an odbc_pconnect() and all open connections are in use you'll get a new connection with the same credentials. You won't close them all with odbc_close_all().
2008-09-19 05:08:28
http://php5.kiev.ua/manual/ru/function.odbc-close-all.html

    Поддержать сайт на родительском проекте КГБ