msql_select_db

(PHP 4, PHP 5, PHP 7)

msql_select_dbSelect mSQL database

˵��

msql_select_db ( string $database_name [, resource $link_identifier ] ) : bool

msql_select_db() sets the current active database on the server that's associated with the specified link_identifier.

Subsequent calls to msql_query() will be made on the active database.

����

database_name

The database name.

link_identifier

mSQL ���ӡ������ָ������ʹ���� msql_connect() ����򿪵����ӡ����û���ҵ������ӣ������᳢��ͨ������ msql_connect() �������Ӳ�ʹ������

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�μ�