1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 00:54:08 +02:00

Display ; in history (thanks to Jan Cerny)

This commit is contained in:
Jakub Vrana
2011-03-22 15:34:34 +01:00
parent 0bc930c52a
commit 2e6ad2037f
4 changed files with 10 additions and 6 deletions

View File

@@ -109,7 +109,7 @@ function textarea($name, $value, $rows = 10, $cols = 80) {
echo "<textarea name='$name' rows='$rows' cols='$cols' class='sqlarea' spellcheck='false' wrap='off' onkeydown='return textareaKeydown(this, event);'>"; // spellcheck, wrap - not valid before HTML5
if (is_array($value)) {
foreach ($value as $val) { // not implode() to save memory
echo h($val) . ";\n\n\n"; // rtrim(, ';') would possibly damage DELIMITER
echo h($val) . "\n\n\n";
}
} else {
echo h($value);