fbsql_database
(PHP 4 >= 4.0.6, PHP 5)
fbsql_database — Get or set the database name used with a connection
Descrição
string fbsql_database
( resource
$link_identifier
[, string $database
] )Get or set the database name used with the connection.
Parâmetros
-
link_identifier -
Um identificador de conexão FrontBase retornado por fbsql_connect() ou fbsql_pconnect().
Se opcional e não especificado, a função tentará encontrar uma conexão aberta para o servidor FrontBase server e se não for encontrada uma conexão dessa ela irá tentar criar uma como se fbsql_connect() fosse chamada sem argumentos
-
database -
The database name. If given, the default database of the connexion will be changed to
database.
Valor Retornado
Returns the name of the database used with this connection.