downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

msql_tablename> <msql_result
[edit] Last updated: Fri, 30 Nov 2012

view this page in

msql_select_db

(PHP 4, PHP 5)

msql_select_dbSelect mSQL database

Opis

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.

Parametry

database_name

The database name.

identyfikator_połączenia

Połączenie mSQL. Jeśli nie zostanie podany, używane jest ostatnie połączenie otwarte przez msql_connect(). Jeśli nie zostanie ono znalezione, funkcja spróbuje nawiązać połączenie tak, jakby wywołana została funkcja msql_connect(), i je użyje.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Zobacz też:



add a note add a note User Contributed Notes msql_select_db - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites