From 9f6df2dbcd349473f98309b681b29103b21d293c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 7 Sep 2001 19:40:22 +0000 Subject: [PATCH] * the query used to complete this action is now displayed. * $reload has now true boolean values --- tbl_rename.php3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tbl_rename.php3 b/tbl_rename.php3 index e70259499..a718cbe84 100755 --- a/tbl_rename.php3 +++ b/tbl_rename.php3 @@ -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); - $message = sprintf($strRenameTableOK, $old_name, $table); - $reload = 'true'; + $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 = 1; }