1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 02:54:28 +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

@@ -14,7 +14,7 @@ if ($result) {
while ($row = $result->fetch_assoc()) {
echo "<tr><th>" . h($row["Field"]);
echo "<td>" . h($row["Type"]) . ($row["Null"] == "YES" ? " <i>NULL</i>" : "");
echo "<td>" . (strlen(trim($row["Comment"])) ? h($row["Comment"]) : "&nbsp;");
echo "<td>" . nbsp($row["Comment"]);
echo "\n";
}
echo "</table>\n";