* db_details.php3, db_stats.php3, main.php3, sql.php3

tbl_change.php3, tbl_query_box.php3, user_details.php3
libraries/common.lib.php3:
- changed show_query to use 1/0 instead of 'y'/'n'
* sql.php3, libraries/common.lib.php3:
- Improved logic of edit, show_as_php, explain and validator
in the SQL query box
This commit is contained in:
Robin Johnson
2002-08-03 21:34:20 +00:00
parent 04ff50b206
commit c28a9175ec
9 changed files with 126 additions and 116 deletions

View File

@@ -22,10 +22,10 @@ if (!empty($message)) {
. '&server=' . $server
. '&db=' . urlencode($db)
. '&table=' . urlencode($table)
. '&$show_query=y'
. '&$show_query=1'
. '&sql_query=' . urlencode($disp_query);
} else {
$show_query = 'y';
$show_query = '1';
}
if (isset($sql_query)) {
$sql_query_cpy = $sql_query;
@@ -112,7 +112,7 @@ if (isset($primary_key)) {
. '&server=' . $server
. '&db=' . urlencode($db)
. '&table=' . urlencode($table)
. '&$show_query=y'
. '&$show_query=1'
. '&sql_query=' . urlencode($local_query);
if (isset($sql_query)) {
$sql_query_cpy = $sql_query;