|
mysql_select_dbSelect a MySQL database Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
Description
bool mysql_select_db
( string
$database_name
[, resource $link_identifier = NULL
] )Sets the current active database on the server that's associated with the specified link identifier. Every subsequent call to mysql_query will be made on the active database. Parameters
Return Values
Returns Examples
Example #1 mysql_select_db example
<?php Notes
See Also
|