110
111
$query = PMA_Table::generateFieldSpec(
111
$_REQUEST['field_name'][$i],
112
$_REQUEST['field_name'][$i],
112
113
$_REQUEST['field_type'][$i],
113
$_REQUEST['field_length'][$i],
114
$_REQUEST['field_length'][$i],
114
115
$_REQUEST['field_attribute'][$i],
115
isset($_REQUEST['field_collation'][$i])
116
? $_REQUEST['field_collation'][$i]
116
isset($_REQUEST['field_collation'][$i])
117
? $_REQUEST['field_collation'][$i]
118
isset($_REQUEST['field_null'][$i])
119
? $_REQUEST['field_null'][$i]
119
isset($_REQUEST['field_null'][$i])
120
? $_REQUEST['field_null'][$i]
121
$_REQUEST['field_default_type'][$i],
122
$_REQUEST['field_default_type'][$i],
122
123
$_REQUEST['field_default_value'][$i],
123
124
isset($_REQUEST['field_extra'][$i])
124
125
? $_REQUEST['field_extra'][$i]
126
isset($_REQUEST['field_comments'][$i])
127
? $_REQUEST['field_comments'][$i]
127
isset($_REQUEST['field_comments'][$i])
128
? $_REQUEST['field_comments'][$i]
247
248
$display_query = $sql_query;
251
// read table info on this newly created table, in case
252
// the next page is Structure
254
require './libraries/tbl_info.inc.php';
250
256
// do not switch to sql.php - as there is no row to be displayed on a new table
251
257
if ($cfg['DefaultTabTable'] === 'sql.php') {
252
258
require './tbl_structure.php';