--- branches/paul/admin/res_drill.phtml 2004/03/18 19:58:18 68 +++ branches/paul_xx/admin/res_drill.phtml 2004/03/18 20:01:09 69 @@ -100,10 +100,10 @@ // Initialize counter $rowcount = 0; - $rs = mysql_tryquery($sql); + $rs = xx_tryquery($sql); // Cycle through the result set - while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { + while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { $subject = Trim($row["subject"]); $subject_id = Trim($row["subject_id"]); $infotype = Trim($row["infotype"]); @@ -126,8 +126,8 @@ // Summary of RQS page uses printf("Total Research QuickStart Uses:\n"); - if (mysql_num_rows($rs) == 0) printf("(None)\n"); - else printf("%d\n", mysql_num_rows($rs)); + if (xx_num_rows($rs) == 0) printf("(None)\n"); + else printf("%d\n", xx_num_rows($rs)); printf("\n"); // Close table @@ -154,10 +154,10 @@ // Initialize counter $rowcount = 0; - $rs = mysql_tryquery($sql); + $rs = xx_tryquery($sql); // Cycle through the result set - while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { + while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { $page_id = Trim($row["page_id"]); $course_concat = Trim($row["course_concat"]); @@ -178,8 +178,8 @@ // Summary of CourseScribe page uses printf("Total CourseLib+ Uses:\n"); - if (mysql_num_rows($rs) == 0) printf("(None)\n"); - else printf("%d\n", mysql_num_rows($rs)); + if (xx_num_rows($rs) == 0) printf("(None)\n"); + else printf("%d\n", xx_num_rows($rs)); printf("\n"); // Close table @@ -205,10 +205,10 @@ // Initialize counter $rowcount = 0; - $rs = mysql_tryquery($sql); + $rs = xx_tryquery($sql); // Cycle through the result set - while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { + while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { $page_id = Trim($row["page_id"]); $page_title = Trim($row["page_title"]); @@ -229,8 +229,8 @@ // Summary of FreeForm page uses printf("Total PageScribe Uses:\n"); - if (mysql_num_rows($rs) == 0) printf("(None)\n"); - else printf("%d\n", mysql_num_rows($rs)); + if (xx_num_rows($rs) == 0) printf("(None)\n"); + else printf("%d\n", xx_num_rows($rs)); printf("\n"); // Close table