1205bad526
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@713 7c3ca157-0c34-0410-bff1-cbf682f78f5c
14 lines
423 B
PHP
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"]) : " ") . "</td>";
|
|
echo "</tr>\n";
|
|
}
|
|
$result->free();
|
|
echo "</table>\n";
|