18 lines
333 B
PHP
Executable File
18 lines
333 B
PHP
Executable File
<?php
|
|
/* $Id$ */
|
|
|
|
|
|
require("grab_globals.inc.php3");
|
|
|
|
|
|
$old_name = $table;
|
|
$table = $new_name;
|
|
require("header.inc.php3");
|
|
|
|
$result = mysql_db_query($db, "ALTER TABLE $old_name RENAME $new_name") or mysql_die();
|
|
$table = $old_name;
|
|
eval("\$message = \"$strRenameTableOK\";");
|
|
$table = $new_name;
|
|
include("tbl_properties.php3");
|
|
?>
|