PHP » GoLang |
login |
register |
about
|
GoLang maxdb_select_db
request it (347)
GoLang replacement for PHP's maxdb_select_db
[edit | history]
maxdb_select_dbmaxdb::select_db(PECL maxdb >= 1.0) maxdb_select_db -- maxdb::select_db — Selects the default database for database queries Description
bool maxdb_select_db
( resource
$link
, string $dbname
)
The maxdb_select_db() function selects the default
database (specified by the
Return Values
Returns ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: 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 [] <...> See Also
|
more
Recently updated
more
Most requested
more
Last requests
|