Index: trunk/ippMonitor/raw/czartool_exposures.php
===================================================================
--- trunk/ippMonitor/raw/czartool_exposures.php	(revision 38258)
+++ trunk/ippMonitor/raw/czartool_exposures.php	(revision 39498)
@@ -74,5 +74,5 @@
 
     $qry = $db->query($sql);
-    $qry->fetchInto($count);
+  dbFetchInto($qry, $count);
 
     if ($surveyStr == "") $surveyText = "all surveys";
@@ -154,5 +154,5 @@
 
     // loop through results in order to make html table
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         $exp_id = $row[0];
@@ -257,5 +257,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = "Y";
@@ -287,5 +287,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = "Y";
@@ -318,5 +318,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = "Y";
@@ -350,5 +350,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = $row[2];
@@ -380,5 +380,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = $row[2];
@@ -408,5 +408,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) {
@@ -444,5 +444,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = $row[2];
@@ -475,5 +475,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = $row[2];
@@ -505,5 +505,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         $hash[$row[0]] = $row[1];
@@ -536,5 +536,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
 
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] > 0) $hash[$row[0]] = $row[2];
@@ -566,5 +566,5 @@
     if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";}
     $hash = array();
-    while ($qry->fetchInto($row)) {
+    while (dbFetchInto($qry, $row)) {
 
         if ($row[2] == 2) $hash1[$row[0]] = $row[1];
