update : 2015.11.03
php.shukuma.com검색:
|
maxdb_select_dbmaxdb::select_db(PECL maxdb >= 1.0) maxdb_select_db -- maxdb::select_db — Selects the default database for database queries 설명
bool maxdb_select_db
( resource
$link
, string $dbname
)
The maxdb_select_db() function selects the default
database (specified by the
반환값
성공 시 예제Example #1 객체 기반 형식
<?php Example #2 절차식 형식
<?php 위 예제의 출력 예시: Default database is <...>. Warning: maxdb_select_db(): -10709 Connection failed (RTE:database not running) <...> Warning: maxdb_query(): -10821 Session not connected [] <...> Warning: maxdb_close(): -10821 Session not connected [] <...> 참고
|