\n";
echo "" . lang('Column') . " | " . lang('Type') . " | " . lang('Nullable') . " | " . lang('Default') . (support("comment") ? " | " . lang('Comment') : "") . " |
\n";
foreach ($fields as $field) {
echo "
" . h($field["field"]) . ($field["primary"] ? " (PRIMARY)" : "");
echo " | " . h($field["full_type"]) . "";
echo ($field["auto_increment"] ? " " . lang('Auto Increment') . "" : "");
echo ($field["collation"] ? " " . h($field["collation"]) . "" : "");
echo " | " . ($field["null"] ? lang('Yes') : lang('No'));
echo " | " . (isset($field["default"]) ? h($field["default"]) : " ");
echo (support("comment") ? " | " . nbsp($field["comment"]) : "");
echo "\n";
}
echo "\n";
return true;
}
}
|
---|