diff --git a/Technical-Wiki.md b/Technical-Wiki.md index ca3fef8..ea6bbc8 100644 --- a/Technical-Wiki.md +++ b/Technical-Wiki.md @@ -4,4 +4,16 @@ Best project EVER. Please enable Issues in Project Settings here in GitHub for this project. -Line 1031 in adminer/adminer/drivers/mysql.inc.php can include "year", "month", "day" \ No newline at end of file +Line 1031 in adminer/adminer/drivers/mysql.inc.php can include "year", "month", "day" + +The example.php can be used to limit the tables displayed to a specific list with: +```` + function tableName($tableStatus) { + // tables without comments would return empty string and will be ignored by Adminer + $allowed_tables = Array('mytable1', 'mytable2'); + if (in_array($tableStatus["Name"], $allowed_tables)) + return h($tableStatus["Comment"]); + else + return ''; + } +````