adminerevo/adminer/variables.inc.php
jakubvrana 1205bad526 Change JUSH identifier
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@713 7c3ca157-0c34-0410-bff1-cbf682f78f5c
2009-06-16 17:05:25 +00:00

14 lines
423 B
PHP

<?php
page_header(lang('Variables'));
echo "<table cellspacing='0'>\n";
$result = $dbh->query("SHOW VARIABLES");
while ($row = $result->fetch_assoc()) {
echo "<tr>";
echo "<th><code class='jush-sqlset'>" . htmlspecialchars($row["Variable_name"]) . "</code></th>";
echo "<td>" . (strlen(trim($row["Value"])) ? htmlspecialchars($row["Value"]) : "&nbsp;") . "</td>";
echo "</tr>\n";
}
$result->free();
echo "</table>\n";