* the query used to complete this action is now displayed.

* $reload has now true boolean values
This commit is contained in:
Loïc Chapeaux
2001-09-07 19:40:22 +00:00
parent dcd40c1c44
commit 9f6df2dbcd

View File

@@ -25,10 +25,10 @@ if (isset($new_name) && trim($new_name) != '') {
include('./header.inc.php3');
mysql_select_db($db);
$local_query = 'ALTER TABLE ' . backquote($old_name) . ' RENAME ' . backquote($new_name);
$result = mysql_query($local_query) or mysql_die('', $local_query);
$sql_query = 'ALTER TABLE ' . backquote($old_name) . ' RENAME ' . backquote($new_name);
$result = mysql_query($sql_query) or mysql_die();
$message = sprintf($strRenameTableOK, $old_name, $table);
$reload = 'true';
$reload = 1;
}