fbsql_select_db()
fbsql_select_db - Select a FrontBase database
Syntax
bool fbsql_select_db (
string $database_name,
resource $link_identifier)
Arguments
- database_name - The name of the database to be selected. If the database is protected with a database password, the you must call fbsql_database_password() before selecting the database.
- link_identifier - A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect(). If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments.
Description
Sets the current active database on the given link identifier.
Version
PHP 4.0.6, 5
Return value
Returns TRUE on success or FALSE on failure.