diff --git a/tbl_printview.php3 b/tbl_printview.php3 index e4610be52..9ad55b5c8 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -89,6 +89,13 @@ while ($row = mysql_fetch_array($result)) { if ($zerofill) { $strAttribute = 'UNSIGNED ZEROFILL'; } + if (!isset($row['Default'])) { + if ($row['Null'] != '') { + $row['Default'] = 'NULL'; + } + } else { + $row['Default'] = htmlspecialchars($row['Default']); + } echo "\n"; ?>