Alert user when not specied length for CHAR/VARCHAR fields.

This commit is contained in:
Michal Čihař
2003-06-25 15:51:56 +00:00
parent b4d6211261
commit d2a95f306a
3 changed files with 23 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ document.onkeydown = onKeyDownArrowsHandler;
</script>
<?php } ?>
<form method="post" action="<?php echo $action; ?>">
<form method="post" action="<?php echo $action; ?>" onsubmit="checkTableEditForm(this, <?php echo $num_fields; ?>)" >
<?php
echo PMA_generate_common_hidden_inputs($db, $table);
if ($action == 'tbl_create.php3') {
@@ -656,4 +656,4 @@ if ($cfgRelation['commwork'] && $cfgRelation['mimework'] && $cfg['BrowseMIME'])
</table>
<br />
<center><?php echo PMA_showMySQLDocu('Reference', 'CREATE_TABLE'); ?></center>
<center><?php echo PMA_showMySQLDocu('Reference', 'CREATE_TABLE'); ?></center>