diff --git a/tbl_printview.php3 b/tbl_printview.php3 index 6a34a7bc2..b48dcaa95 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -64,13 +64,18 @@ while($row= mysql_fetch_array($result)) $Type = stripslashes($row["Type"]); } else { $Type = $row["Type"]; + } + // reformat mysql query output - staybyte - 9. June 2001 + $shorttype=substr($Type,0,3); + if ($shorttype=="set" || $shorttype=="enu"){ + $Type=eregi_replace (",",", ",$Type); } $Type = eregi_replace("BINARY", "", $Type); $Type = eregi_replace("ZEROFILL", "", $Type); $Type = eregi_replace("UNSIGNED", "", $Type); - echo $Type; - ?> -