db_close_database

bool db_close_database (void)

Closes the currently open database.

Arguments

None.

Result

The function returns TRUE if successful or FALSE otherwise.

Example

// Close database

$result = db_close_database();


See also

Database functions
Database support