msql_select_db
(PHP 4, PHP 5)
msql_select_db — Select mSQL database
Descrizione
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.
Elenco dei parametri
- database_name
-
The database name.
- link_identifier
-
La connessione mSQL. Se non specificato, l'ultimo link aperto con msql_connect() viene assunto. Se non viene trovato un link di questo tipo, la funzione cercherà di stabilire un link come se msql_connect() fosse stato chiamato, e lo utilizzerà .
Valori restituiti
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.