您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php列出mysql指定数据库中的所有表

2024/6/28 6:40:39发布34次查看
php列出mysql指定数据库中的所有表
if (!function_exists('mysql_list_db_tables')) { function mysql_list_db_tables($database) { $tables = array(); $results = mysql_query('show tables from ' . $database); while($row = @mysql_fetch_assoc($results)) { $tables[] = $row['tables_in_' . $database]; } return $tables; } }
复制代码
数据库中, php, mysql
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product