beautify the tables printview output

This commit is contained in:
Loïc Chapeaux
2001-12-06 21:22:43 +00:00
parent 351b5b350c
commit 20f0a4c0a7

View File

@@ -46,9 +46,12 @@ if (isset($selected_tbl) && is_array($selected_tbl)) {
$multi_tables = (count($the_tables) > 1); $multi_tables = (count($the_tables) > 1);
if ($multi_tables) { if ($multi_tables) {
$tbl_list = '';
while (list($key, $table) = each($the_tables)) { while (list($key, $table) = each($the_tables)) {
echo '[' . $table . '] '; $tbl_list .= (empty($tbl_list) ? '' : ', ')
. PMA_backquote($table);
} }
echo '<b>'. $strShowTables . '&nbsp;:&nbsp;' . $tbl_list . '</b>' . "\n";
} // end if } // end if
reset($the_tables); reset($the_tables);