diff --git a/editing.inc.php b/editing.inc.php index 29d618f0..97aee9d1 100644 --- a/editing.inc.php +++ b/editing.inc.php @@ -64,7 +64,7 @@ function process_input($name, $field) { function edit_type($key, $field, $collations) { global $types, $unsigned, $inout; -?> + ?> " size="3" /> @@ -82,7 +82,7 @@ function process_type($field, $collate = "COLLATE") { function edit_fields($fields, $collations, $type = "TABLE") { global $inout; -?> + ?> @@ -100,10 +100,11 @@ function edit_fields($fields, $collations, $type = "TABLE") { $column_comments = false; foreach ($fields as $i => $field) { $i++; + $display = ($_POST["add"][$i-1] || (isset($field["field"]) && !$_POST["drop_col"][$i])); ?> - +> -" maxlength="64" />" /> +" maxlength="64" />" /> checked="checked" /> @@ -121,7 +122,7 @@ function edit_fields($fields, $collations, $type = "TABLE") { } function type_change($count) { -?> + ?>