* the query used to complete this action is now displayed.
* $reload has now true boolean values
This commit is contained in:
@@ -25,10 +25,10 @@ if (isset($new_name) && trim($new_name) != '') {
|
|||||||
|
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
mysql_select_db($db);
|
mysql_select_db($db);
|
||||||
$local_query = 'ALTER TABLE ' . backquote($old_name) . ' RENAME ' . backquote($new_name);
|
$sql_query = 'ALTER TABLE ' . backquote($old_name) . ' RENAME ' . backquote($new_name);
|
||||||
$result = mysql_query($local_query) or mysql_die('', $local_query);
|
$result = mysql_query($sql_query) or mysql_die();
|
||||||
$message = sprintf($strRenameTableOK, $old_name, $table);
|
$message = sprintf($strRenameTableOK, $old_name, $table);
|
||||||
$reload = 'true';
|
$reload = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user