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

search for in the

ibase_commit_ret> <ibase_blob_open
Last updated: Fri, 18 Jul 2008

view this page in

ibase_close

(PHP 4, PHP 5)

ibase_close — Chiude una connessione ad un database InterBase

Descrizione

bool ibase_close ([ resource $connection_id ] )

Chiude il collegamento ad un database InterBase che è stato associato con un id di connessione restituito da ibase_connect(). Se l'id di connessione viene omesso, viene considerato l'ultimo collegamento che è stato aperto. La transazione predefinita sul collegamento viene "committed", le altre transazioni vengono "rolled back".

Vedere anche ibase_connect() e ibase_pconnect().



add a note add a note User Contributed Notes
ibase_close
02-Apr-2002 03:18
Before close the connection remember to free your query results too...

$dbh = ibase_connect($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {
    .............
}
ibase_free_result($sth);  //  <-------
ibase_close($dbh);

ibase_commit_ret> <ibase_blob_open
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites