Forum und email

fbsql_database

(PHP 4 >= 4.0.6, PHP 5)

fbsql_database — Get or set the database name used with a connection

설명

string fbsql_database ( resource $link_identifier [, string $database ] )

Get or set the database name used with the connection.

매개변수

link_identifier

fbsql_connect()fbsql_pconnect()가 반환한 FrontBase 연결 식별자.

database

The database name. If given, the default database of the connexion will be changed to database .

반환값

Returns the name of the database used with this connection.