Файл: MysqlIManager/rename2.php
Строк: 20
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Rename table <?php print("$TABLE"); ?></title>
<link rel="stylesheet" href="settings.css" type="text/css">
</head>
<body>
<br><br><br><br>
<center>
<?php
include("common.inc");
mysql_select_db($DB, $connection);
$query = "ALTER TABLE $TABLE RENAME AS $Tablename";
$result = mysql_query($query) or die("ERROR while renaming table");
print("New name for table succesfully saved!");
?>
</center>
</body>
</html>