MSQL_SELECT_DB(3) MSQL_SELECT_DB(3)
msql_select_db - Select mSQL database
SYNOPSIS
bool msql_select_db (string $database_name, [resource $link_identifier])
DESCRIPTION
msql_select_db(3) sets the current active database on the server that's associated with the specified $link_identifier.
Subsequent calls to msql_query(3) will be made on the active database.
PARAMETERS
o $database_name
- The database name.
o $
link_identifier -The mSQL connection. If not specified, the last link opened by msql_connect(3) is assumed. If no such link is
found, the function will try to establish a link as if msql_connect(3) was called, and use it.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
msql_connect(3), msql_pconnect(3), msql_query(3).
PHP Documentation Group MSQL_SELECT_DB(3)