|
PHP5中文手册
mssql_select_db(PHP 4, PHP 5, PECL odbtp:1.1.1-1.1.4) mssql_select_db — Select MS SQL database 说明
bool mssql_select_db
( string $database_name
[, resource $link_identifier
] )
mssql_select_db() sets the current active database on the server that's associated with the specified link identifier. Every subsequent call to mssql_query() will be made on the active database. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 mssql_select_db() example
<?php |