fbsql_database

(PHP 4 >= 4.0.6, PHP 5, PHP 7)

fbsql_databaseGet or set the database name used with a connection

˵��

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

Get or set the database name used with the connection.

����

link_identifier

�� fbsql_connect() �� fbsql_pconnect() ���ص� FrontBase ���ӱ�ʶ��.

���ѡ��δָ���������᳢�Բ���һ���� FrontBase �������Ŀ������ӣ�����û���ҵ����������ӣ��᳢��ͨ�������������� fbsql_connect() ������һ����

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.