Файл: MysqlIManager/addtable2.php
Строк: 20
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Add new table to database <?php print("$DB"); ?></title>
<link rel="stylesheet" href="settings.css" type="text/css">
</head>
<body>
<center>
<br><br><br><br>
<?php
include("common.inc");
mysql_select_db($DB, $connection);
$query = "CREATE TABLE $Tablename (Id INT NOT NULL AUTO_INCREMENT PRIMARY KEY)";
$result = mysql_query($query) or die("ERROR while adding new table");
print("New table has been added succesfully!");
?>
</center>
</body>
</html>