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

search for in the

msql_tablename> <msql_result
[edit] Last updated: Fri, 25 May 2012

view this page in

msql_select_db

(PHP 4, PHP 5)

msql_select_dbSelect mSQL database

Descrierea

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.

Parametri

database_name

The database name.

link_identifier

Conexiunea mSQL. Dacă nu este specificată, se presupune că este ultima legătură deschisă cu msql_connect (). Dacă nu se găsește vre-o legătură de acest fel, funcția va încerca să stabilească o legătură prin apelarea msql_connect() și să o utilizeze pe aceasta.

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.

Vedeți de asemenea



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

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