Warning: file_put_contents(): Only -1 of 53 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
msql_result msql_tablename mSQL PHP Manual msql_select_db (PHP 4, 5) — Select database Description bool ( string $database_name [, resource $link_identifier ] ) msql_select_db() sets the current ...
Forum und email

msql_select_db

(PHP 4, PHP 5)

msql_select_db — Select mSQL database

Description

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.

Parameters

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.

Return Values

Επιστρέφει TRUE σε επιτυχία ή FALSE σε αποτυχία.

Δείτε επίσης