// 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['True_Type'], 'blob')
&& !empty($data)
&& $cfgProtectBlob == TRUE) {
echo ' ' . $strBinary . ' ' . "\n";
} else if (strstr($row_table_def['True_Type'], 'enum') || strstr($row_table_def['True_Type'], 'set')) {
echo ' -- ' . "\n";
} else {
?>
' . $cfgFunctions[$j] . '' . "\n";
}
} else {
// for default function = NOW() on first timestamp field
// -- swix/18jul01
for ($j = 0; $j < count($cfgFunctions); $j++) {
echo ' ';
if ($cfgFunctions[$j] == 'NOW') {
echo '' . $cfgFunctions[$j] . ' ' . "\n";
} else {
echo '' . $cfgFunctions[$j] . ' ' . "\n";
}
} // end for
}
?>
32000) {
echo ' ' . $strTextAreaLength . ' ' . "\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;
?>
20) {
echo "\n";
?>
' . htmlspecialchars($enum_atom) . '' . "\n";
} // end for
if ($row_table_def['Null'] == 'YES') {
echo ' ';
echo '[' . $strNull . '] ' . "\n";
} // end if
?>
' . "\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";
?>
' . htmlspecialchars($subset) . '' . "\n";
} // end for
?>
// We don't want binary data destroyed
else if (strstr($row_table_def['Type'], 'blob')) {
if ($cfgProtectBlob == TRUE) {
echo "\n";
?>
40) ? 40 : $len);
}
echo "\n";
?>