From 9aaaa185b8d1cd340ef4dcfc5ca9f836ce570807 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Thu, 5 Jul 2007 14:56:43 +0000 Subject: [PATCH] Highlight NULL git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@49 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- table.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table.inc.php b/table.inc.php index 2233beb2..de172ec0 100644 --- a/table.inc.php +++ b/table.inc.php @@ -1,10 +1,10 @@ \n"; while ($row = mysql_fetch_assoc($result)) { - echo "" . htmlspecialchars($row["Field"]) . "$row[Type]" . ($row["Null"] == "NO" ? " NOT NULL" : "") . "\n"; + echo "" . htmlspecialchars($row["Field"]) . "$row[Type]" . ($row["Null"] == "NO" ? "" : " NULL") . "\n"; } echo "\n"; mysql_free_result($result);