= 32300 && !empty($comment)) { if (get_magic_quotes_gpc()) { $comment = stripslashes($comment); } $sql_query .= ' comment = \'' . sql_addslashes($comment) . '\''; } // Executes the query $result = mysql_query($sql_query) or mysql_die(); $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) == '') { mysql_die($strTableEmpty); } // No valid number of fields else if (empty($num_fields) || !is_int($num_fields)) { mysql_die($strFieldsEmpty); } // 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 (MYSQL_INT_VERSION < 32306) { check_reserved_words($table); } $action = 'tbl_create.php3'; include('./tbl_properties.inc.php3'); // Diplays the footer echo "\n"; include('./footer.inc.php3'); } } ?>