|
mysql_select_dbSelect a MySQL database Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide. 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
Notes
See Also
|