Index: trunk/ippMonitor/def/autocode.php
===================================================================
--- trunk/ippMonitor/def/autocode.php	(revision 9003)
+++ trunk/ippMonitor/def/autocode.php	(revision 9008)
@@ -20,4 +20,6 @@
 // ** TABLE RESTRICTIONS **
 
+echo "WHERE: $WHERE<br><br>\n";
+
 // query the database
 if ($WHERE) {
@@ -27,4 +29,6 @@
 }
 
+echo "SQL: $sql<br><br>\n";
+
 $qry = $db->query($sql);
 if (DB::iserror($db)) {
@@ -33,5 +37,5 @@
 }
 
-// ** BODY HTML **
+// ** HEAD CODE **
 
 // set up the table and form
@@ -72,5 +76,5 @@
 echo "</form>\n";
 
-// ** TAIL HTML **
+// ** TAIL CODE **
 
 menu_end();
