// 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 ((strstr($row_table_def['Type'], 'blob') || strstr($row_table_def['Type'], 'binary'))
//if (strstr($row_table_def['Type'], 'blob')
if (strstr($row_table_def['True_Type'], 'blob')
&& !empty($data)
&& $cfgProtectBlob==TRUE) {
echo '
' . $strBinary . '
' . "\n";
} else {
?>
32000) {
echo '
' . $strTextAreaLength . '
' . "\n";
}
}
//else if (strstr($row_table_def['Type'], 'enum')) {
else if (strstr($row_table_def['True_Type'], 'enum')) {
$set = str_replace('enum(', '', $row_table_def['Type']);
$set = ereg_replace('\\)$', '', $set);
$set = explode('\',\'', substr($set, 1, -1));
// show dropdown or radio depend on length
if (strlen($row_table_def['Type']) > 20) {
?>