'; } else if (isset($primary_key)) { $special_chars = 'NULL'; $data = ''; $backup_field = ''; } else { $special_chars = ''; $data = ''; $backup_field = ''; } // Change by Bernard M. Piller // We don't want binary data to be destroyed // Note: from the MySQL manual: "BINARY doesn't affect how the column is // stored or retrieved" so it does not mean that the contents is // binary if ((($cfgProtectBinary && $is_blob) || ($cfgProtectBinary == 'all' && $is_binary)) && !empty($data)) { echo ' ' . "\n"; } else if (strstr($row_table_def['True_Type'], 'enum') || strstr($row_table_def['True_Type'], 'set')) { echo ' ' . "\n"; } else { ?> 32000) { echo ' ' . "\n"; } } else if (strstr($row_table_def['True_Type'], 'enum')) { $enum = str_replace('enum(', '', $row_table_def['Type']); $enum = ereg_replace('\\)$', '', $enum); $enum = explode('\',\'', substr($enum, 1, -1)); $enum_cnt = count($enum); $seenchecked = 0; ?> // We don't want binary data destroyed else if ($is_binary || $is_blob) { if (($cfgProtectBinary && $is_blob) || ($cfgProtectBinary == 'all' && $is_binary)) { echo "\n"; ?> 40) ? 40 : $len); $maxlength = $len; } echo "\n"; ?> 40) ? 40 : $len); $maxlength = $len; } echo "\n"; ?>
> ' . $strBinary . '-- ' . $strTextAreaLength . ' 20) { echo "\n"; ?> ' . "\n"; echo ' ' . htmlspecialchars($enum_atom) . "\n"; } // end for if ($row_table_def['Null'] == 'YES') { echo ' '; echo '' . "\n"; echo ' [' . $strNull . ']' . "\n"; } // end if } // end else echo "\n"; ?>