Forum und email

fbsql_database

(PHP 4 >= 4.0.6, PHP 5)

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

Descrierea

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

Get or set the database name used with the connection.

Parametri

link_identifier

Un identificator de legătură FrontBase întors de fbsql_connect() sau fbsql_pconnect().

Dacă nu este specificat, funcţia va încerca să găsească o legătură deschisă către serverul FrontBase şi dacă nu este găsită nici o astfel de legătură, se va încerca crearea uneia, ca şi la apelarea fbsql_connect() fără argumente.

database

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

Valorile întroarse

Returns the name of the database used with this connection.