downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<dbx Functionsdbx_compare>
Last updated: Thu, 26 Jun 2008

dbx_close

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5, PECL dbx:1.1.0)

dbx_close — Close an open connection/database

Description

int dbx_close ( object $link_identifier )

Parameters

link_identifier

The DBX link object to close.

Return Values

Returns 1 on success and 0 on errors.

Examples

Example #1 dbx_close() example

<?php
$link
= dbx_connect(DBX_MYSQL, "localhost", "db", "username", "password")
   or die(
"Could not connect");

echo
"Connected successfully";
dbx_close($link);
?>

Notes

Note: Always refer to the module-specific documentation as well.

See Also



add a noteadd a note User Contributed Notes
Close an open connection/database
There are no user contributed notes for this page.




<dbx Functionsdbx_compare>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs