|
mysql_db_nameRetrieves database name from the call to mysql_list_dbs 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
string mysql_db_name
( resource
$result
, int $row
[, mixed $field = NULL
] )Retrieve the database name from a call to mysql_list_dbs. Parameters
Return Values
Returns the database name on success, and Changelog
Examples
Example #1 mysql_db_name example
<?php Notes
See Also
|