DBASE_CLOSE(3) 1 DBASE_CLOSE(3)
dbase_close - Closes a database
SYNOPSIS
bool dbase_close (int $dbase_identifier)
DESCRIPTION
Closes the given database link identifier.
PARAMETERS
o $dbase_identifier
- The database link identifier, returned by dbase_open(3) or dbase_create(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Closing a dBase database file
<?php
// open in read-only mode
$db = dbase_open('/tmp/test.dbf', 0);
if ($db) {
// read some data ..
dbase_close($db);
}
?>
SEE ALSO
dbase_open(3), dbase_create(3).
PHP Documentation Group DBASE_CLOSE(3)