From 015c995a8584fd3fe9928df4a4540506bb806e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 30 Jun 2001 16:03:54 +0000 Subject: [PATCH] Moved a 'mysql_select_db' so the script may ran with mysql releases < 3.23 --- tbl_printview.php3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tbl_printview.php3 b/tbl_printview.php3 index b48dcaa95..7a0c87c19 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -15,9 +15,10 @@ else } unset($sql_query); + +mysql_select_db($db); if(MYSQL_MAJOR_VERSION == "3.23") { - mysql_select_db($db); $result = mysql_query("SHOW TABLE STATUS LIKE '$table'") or mysql_die(); $row = mysql_fetch_array($result); if(!empty($row["Comment"]))