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);