--- branches/paul/admin/mastersubject_drill.phtml 2004/03/18 19:58:18 68 +++ branches/paul_xx/admin/mastersubject_drill.phtml 2004/03/18 20:01:09 69 @@ -84,13 +84,13 @@ // printf("sql was: %s
\n", $sql); - $rs = mysql_tryquery($sql); + $rs = xx_tryquery($sql); // Initialize counter $rowcount = 0; // Cycle through the result set - while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { + while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { $subject_id = Trim($row["subject_id"]); $subject = Trim($row["subject"]); @@ -109,8 +109,8 @@ // Summary of RQS page uses printf("Total contained Subjects:\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 @@ -143,13 +143,13 @@ // printf("sql was: %s
\n", $sql); - $rs = mysql_tryquery($sql); + $rs = xx_tryquery($sql); // Initialize counter $rowcount = 0; // 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 RQS page uses 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