|
mysql_list_dbsList databases available on a MySQL server Warning
This function was deprecated in PHP 5.4.0, and it and the entire original MySQL extension was removed in PHP 7.0.0. Instead, use either the actively developed MySQLi or PDO_MySQL extensions. See also the MySQL: choosing an API guide and its related FAQ entry for additional 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. 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
|