★ wanayoo — archive 1999 http://www.php.net/manual/fr/function.odbc-close.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to ODBC
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageHungarian version of this page
ODBC
* odbc_autocommit
* odbc_binmode
* odbc_close
* odbc_close_all
* odbc_commit
* odbc_connect
* odbc_cursor
* odbc_do
* odbc_exec
* odbc_execute
* odbc_fetch_into
* odbc_fetch_row
* odbc_field_name
* odbc_field_type
* odbc_field_len
* odbc_free_result
* odbc_longreadlen
* odbc_num_fields
* odbc_pconnect
* odbc_prepare
* odbc_num_rows
* odbc_result
* odbc_result_all
* odbc_rollback
* odbc_setoption
Manual: odbc_close
View the source code for this pageSearch the site



Previous page
 odbc_binmode
 Updated
Sun, 06 Aug 2000
odbc_close_all 
Next page


odbc_close

(PHP3 >= 3.0.6, PHP4 )

odbc_close -- Ferme une connexion ODBC.

Description

void odbc_close (int connection_id)

odbc_close() ferme la connexion avec une source de données, représentée par l'identifiant de connexion.

Note: Cette fonction échouera si il y a des transactions en cours sur cette connexion. Dans ce cas, la connexion restera ouverte.


User Contributed Notes: odbc_close


gec1@latinmail.com
08-May-2000 11:08
My problem is the following:
The site turns too slow.We think this is caused because we don't close the connections manually to the database with the odbc_close() statement, this task is performed by the server when the php script finishes.
Should I use the odbc_close() to get better performance ?
Thank you



mallsop@ind.net
16-May-2000 07:33
On microsoft servers, use the odbc_free_result command.


 About Notes


Previous page
 odbc_binmode
 Updated
Sun, 06 Aug 2000
odbc_close_all 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.