PHP » GoLang |
login |
register |
about
|
GoLang mysql_select_db
request it (427)
GoLang replacement for PHP's mysql_select_db
[edit | history]
mysql_select_db(PHP 4, PHP 5) mysql_select_db — Select 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 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
|
more
Recently updated
more
Most requested
more
Last requests
|