|
mysql_list_dbsList databases available on a MySQL server 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
resource mysql_list_dbs
([ resource
$link_identifier = NULL
] )Returns a result pointer containing the databases available from the current mysql daemon. Warning
This function has been DEPRECATED as of PHP 5.4.0. Relying on this function is highly discouraged. Parameters
Return Values
Returns a result pointer resource on success, or Examples
Example #1 mysql_list_dbs example
<?php The above example will output something similar to: database1 database2 database3 Notes
See Also
|