true, 'tableName2' => true, 'tableName3' => true, //... ]; $select = filter_input(INPUT_GET, 'table', FILTER_SANITIZE_STRING); if(isset($select) && $disabledTables[$select]) die(Adminer\h('Access Denied.')); if($disabledTables[$tableStatus['Name']]){ return false; } return Adminer\h($tableStatus['Name']); // tables without comments would return empty string and will be ignored by Adminer //return Adminer\h($tableStatus['Comment']); } }