|
maxdb_select_dbmaxdb::select_dbSelects the default database for database queries Beschreibung
bool maxdb_select_db
( resource
$link
, string $dbname
)
The maxdb_select_db function selects the default
database (specified by the
Rückgabewerte
Gibt bei Erfolg BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: 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 [] <...> Siehe auch
|