multi table printview

This commit is contained in:
Marc Delisle
2001-12-05 19:01:40 +00:00
parent 5096589d6e
commit b0b61e293e
3 changed files with 64 additions and 0 deletions

View File

@@ -450,6 +450,27 @@ if ($num_tables > 0) {
<!-- Printable view of a table -->
<li>
<div style="margin-bottom: 10px"><a href="db_printview.php3?<?php echo $url_query; ?>"><?php echo $strPrintView; ?></a></div>
<?php // Add by Moosh
?>
<FORM method="post" action="tbl_printview.php3?lang=<?php echo $lang; ?>&server=<?php echo $server; ?>&db=<?php echo $db; ?>&goto=db_details.php3" >
<select name="tables[]" size="5" multiple="multiple">
<?php
$i = 0;
echo "\n";
while ($i < $num_tables) {
$table = ((PMA_MYSQL_INT_VERSION >= 32300) ?
$tables[$i]['Name'] : $tables[$i]);
echo ' <option value="' . $table . '">' . $table . '</option>' . "\n";
$i++;
}
echo "</select>";
echo "<input type=\"submit\" value=\"" . $GLOBALS['strGo'] . "\" />";
echo "</FORM>";
// end of Add by Moosh
?>
</li>
<?php
}