2009-06-16 15:10:37 +00:00
|
|
|
<?php
|
|
|
|
page_header(lang('Variables'));
|
|
|
|
|
|
|
|
echo "<table cellspacing='0'>\n";
|
|
|
|
$result = $dbh->query("SHOW VARIABLES");
|
|
|
|
while ($row = $result->fetch_assoc()) {
|
|
|
|
echo "<tr>";
|
2009-06-16 17:05:25 +00:00
|
|
|
echo "<th><code class='jush-sqlset'>" . htmlspecialchars($row["Variable_name"]) . "</code></th>";
|
2009-06-16 15:10:37 +00:00
|
|
|
echo "<td>" . (strlen(trim($row["Value"])) ? htmlspecialchars($row["Value"]) : " ") . "</td>";
|
|
|
|
echo "</tr>\n";
|
|
|
|
}
|
|
|
|
$result->free();
|
|
|
|
echo "</table>\n";
|