// 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 ' ' . "\n"; } else { ?> 32000) { echo ' ' . "\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) { ?> ' . "\n"; $seenchecked = 0; for ($j = 0; $j < count($set); $j++) { echo ' '; echo '' . "\n"; echo ' ' . htmlspecialchars(substr($set[$j], 1, -1)) . "\n"; } // end for if ($row_table_def['Null'] == 'YES') { echo ' '; echo '' . "\n"; echo ' [' . $strNull . ']' . "\n"; } // end if echo ' ' . "\n"; } // end else } else if (strstr($row_table_def['Type'], 'set')) { $set = str_replace('set(', '', $row_table_def['Type']); $set = ereg_replace('\)$', '', $set); $set = explode(',', $set); for ($vals = explode(',', $data); list($t, $k) = each($vals);) { $vset[$k] = 1; } $size = min(4, count($set)); ?> // We don't want binary data destroyed else if (strstr($row_table_def['Type'], 'blob') && !empty($data)) { if ($cfgProtectBlob==TRUE) { echo "\n"; ?>
> ' . $strBinary . ' ' . $strTextAreaLength . ' 40) ? 40 : $len); echo "\n"; ?>