PHP: msql_select_db - Manual

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

search for in the

msql_tablename msql_result

Last updated: Fri, 26 Jan 2007

view this page in

# msql_select_db

(PHP 3, 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`

  The mSQL connection. If not specified, the last link opened by msql_connect() is assumed. If no such link is found, the function will try to establish a link as if msql_connect() was called, and use it.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

msql_connect()
msql_pconnect()
msql_query()

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

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST