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

Function nbsp

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1004 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-08-25 10:26:47 +00:00
parent bcff0255ee
commit c196985004
5 changed files with 9 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ $result = $dbh->query("SHOW VARIABLES");
while ($row = $result->fetch_assoc()) {
echo "<tr>";
echo "<th><code class='jush-sqlset'>" . h($row["Variable_name"]) . "</code>";
echo "<td>" . (strlen(trim($row["Value"])) ? h($row["Value"]) : "&nbsp;");
echo "<td>" . nbsp($row["Value"]);
}
$result->free();
echo "</table>\n";