【文件属性】:
文件名称:showMySQLTable:显示用户可以过滤的 mysql 数据库中的表
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-05 02:44:54
PHP
显示MySQL表
显示用户可以过滤的 mysql 数据库中的表或视图
用法:
<?php
include_once("./showTable/showTable.php");
$showTable = new showTable();
//set database
try {
$db = new PDO("mysql:host=localhost;port=3306;dbname=myDatabase", "username", "password");
} catch (PDOException $e) {
die('Mysql Connection failed: ' . $e->getMessage());
}
$showTable->setDatabase($db);
//set table or view you want to display
$showTable->s
【文件预览】:
showMySQLTable-master
----showTable.js(7KB)
----showTable.css(3KB)
----README.md(1KB)
----showTable.php(24KB)