Forum und email

msql_select_db

(PHP 4, PHP 5)

msql_select_db — Select mSQL database

설명

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

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를 반환합니다.