downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

odbc_close> <odbc_binmode
[edit] Last updated: Fri, 17 May 2013

view this page in

odbc_close_all

(PHP 4, PHP 5)

odbc_close_allFerme toutes les connexions ODBC

Description

void odbc_close_all ( void )

odbc_close_all() ferme toutes les connexions ODBC à des sources de données.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Aucune valeur n'est retournée.

Notes

Note:

odbc_close_all() échouera s'il y a des transactions en cours sur cette connexion. Dans ce cas, la connexion restera ouverte.



add a note add a note User Contributed Notes odbc_close_all - [1 notes]
up
0
alvaro at demogracia dot com
4 years ago
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().

 
show source | credits | stats | sitemap | contact | advertising | mirror sites