display SQL after edit row

This commit is contained in:
Marc Delisle
2003-01-28 14:02:40 +00:00
parent 3768693c75
commit 0a95f690b2
3 changed files with 19 additions and 2 deletions

View File

@@ -296,8 +296,10 @@ if (!$result) {
include('./header.inc.php3');
include('./' . ereg_replace('\.\.*', '.', $goto));
} else {
$add_query = (strpos(' ' . $goto, 'tbl_change') ? '&disp_query=' . urlencode($sql_query) : '');
header('Location: ' . $cfg['PmaAbsoluteUri'] . $goto . '&message=' . urlencode($message) . $add_query);
// I don't understand this one:
//$add_query = (strpos(' ' . $goto, 'tbl_change') ? '&disp_query=' . urlencode($sql_query) : '');
$add_query = '&disp_query=' . urlencode($sql_query);
header('Location: ' . $cfg['PmaAbsoluteUri'] . $goto . '&disp_message=' . urlencode($message) . $add_query);
}
exit();
} // end if