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"]))