optional re-display of query

This commit is contained in:
Marc Delisle
2001-07-16 01:22:50 +00:00
parent 08d71140ec
commit cd1b459141
25 changed files with 36 additions and 4 deletions

View File

@@ -262,8 +262,12 @@ if ($num_tables > 0) {
<?php echo $strRunSQLQuery . $db . ' ' . show_docu('manual_Reference.html#SELECT'); ?>&nbsp;:<br />
<div style="margin-bottom: 5px">
<textarea name="sql_query" cols="40" rows="3" wrap="virtual" style="width: <?php echo $cfgMaxInputsize; ?>">
<?php echo (isset($sql_query) ? $sql_query : '');?>
<?php if (isset($show_query)) {
echo $show_query=="y" ? $sql_query : '';
}
?>
</textarea><br />
<INPUT type=checkbox name='show_query' value="y" checked /><?php echo $strShowThisQuery; ?><br />
</div>
<?php echo "<i>$strOr</i> $strLocationTextfile"; ?>&nbsp;:<br />
<div style="margin-bottom: 5px">