--- branches/paul/admin/infotype_drill.phtml 2004/03/18 19:24:54 67 +++ branches/paul_xx/admin/infotype_drill.phtml 2004/03/18 20:01:09 69 @@ -88,10 +88,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"]); $title = Trim($row["title"]); @@ -116,8 +116,8 @@ *****************************/ printf("Total RQS 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 @@ -145,10 +145,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)) { $resource_id = Trim($row["resource_id"]); $title = Trim($row["title"]); @@ -168,8 +168,8 @@ // Summary of occurences in resources printf("Total associated Resources:\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