DBX_CLOSE(3) 1 DBX_CLOSE(3)
dbx_close - Close an open connection/database
SYNOPSIS
int dbx_close (object $link_identifier)
DESCRIPTION
PARAMETERS
o $link_identifier
- The DBX link object to close.
RETURN VALUES
Returns 1 on success and 0 on errors.
EXAMPLES
Example #1
dbx_close(3) 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
dbx_connect(3).
PHP Documentation Group DBX_CLOSE(3)