php列出mysql的所有数据库
时间:2021-07-01 10:21:17
帮助过:16人阅读
- $rs= @mysql_list_dbs( $conn ) or die( "Sorry - could not list databases" );for( $row=0; $row < mysql_num_rows($rs); $row++ ){
- $db_list .= mysql_tablename( $rs, $row ) . "
"; } ?> - Listing databases
-
-
-
-
-
|
php, mysql