Funkcje FrontBase
PHP Manual

fbsql_database

(PHP 4 >= 4.0.6, PHP 5)

fbsql_databaseGet or set the database name used with a connection

Opis

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

Get or set the database name used with the connection.

Parametry

link_identifier

Identyfikator połączenia FrontBase zwrócony przez fbsql_connect() lub fbsql_pconnect().

Jeśli link jest opcjonalny i nie zostanie podany, funkcja spróbuje znaleźć otwarte połączenie do serwera FrontBase i jeśli takiego połączenia nie znajdzie, spróbuje utworzyć je tak jak fbsql_connect() byłaby wywołana bez argumentów

database

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

Zwracane wartości

Returns the name of the database used with this connection.


Funkcje FrontBase
PHP Manual