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, 01 Aug 2008

view this page in

ibase_close

(PHP 4, PHP 5)

ibase_closeClose a connection to an InterBase database

Descrierea

bool ibase_close ([ resource $connection_id ] )

Closes the link to an InterBase database that's associated with a connection id returned from ibase_connect(). Default transaction on link is committed, other transactions are rolled back.

Parametri

connection_id

An InterBase link identifier returned from ibase_connect(). If omitted, the last opened link is assumed.

Valorile întroarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eşecului.

Vedeţi de asemenea



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, 01 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites