= 32300 && !empty($comment)) { if (get_magic_quotes_gpc()) { $comment = stripslashes($comment); } $sql_query .= ' COMMENT = \'' . PMA_sqlAddslashes($comment) . '\''; $query_cpy .= "\n" . 'COMMENT = \'' . PMA_sqlAddslashes($comment) . '\''; } // Executes the query $result = PMA_mysql_query($sql_query) or PMA_mysqlDie('', '', '', $err_url); $sql_query = $query_cpy . ';'; unset($query_cpy); $message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenCreated; include('./tbl_properties.php3'); exit(); } // end do create table /** * Displays the form used to define the structure of the table */ else { if (isset($num_fields)) { $num_fields = intval($num_fields); } // No table name if (!isset($table) || trim($table) == '') { PMA_mysqlDie($strTableEmpty, '', '', $err_url); } // No valid number of fields else if (empty($num_fields) || !is_int($num_fields)) { PMA_mysqlDie($strFieldsEmpty, '', '', $err_url); } // Table name and number of fields are valid -> show the form else { // Ensures the table name is valid if (get_magic_quotes_gpc()) { $table = stripslashes($table); } if (PMA_MYSQL_INT_VERSION < 32306) { PMA_checkReservedWords($table, $err_url); } $action = 'tbl_create.php3'; include('./tbl_properties.inc.php3'); // Diplays the footer echo "\n"; include('./footer.inc.php3'); } } ?>