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

Print current time next to executed SQL queries

This commit is contained in:
Jakub Vrana
2012-03-10 02:28:13 -08:00
parent b254503fb2
commit 24c51fe11f
5 changed files with 11 additions and 10 deletions

View File

@@ -114,7 +114,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";
echo h($val[0]) . "\n\n\n"; // $val == array($query, $time)
}
} else {
echo h($value);