diff --git a/libraries/header_printview.inc.php b/libraries/header_printview.inc.php
index bef4658804..39ec4cfb26 100644
--- a/libraries/header_printview.inc.php
+++ b/libraries/header_printview.inc.php
@@ -48,6 +48,9 @@ if ($text_dir == 'ltr') {
- phpMyAdmin
+
diff --git a/sql.php b/sql.php
index 05b80b67d3..aa99c195da 100644
--- a/sql.php
+++ b/sql.php
@@ -990,19 +990,7 @@ $(document).ready(makeProfilingChart);
// Do print the page if required
if (isset($printview) && $printview == '1') {
- ?>
-
-