--- trunk/admin/mastersubject_drill.phtml 2004/03/04 22:43:17 41
+++ trunk/admin/mastersubject_drill.phtml 2004/03/04 22:43:50 42
@@ -74,13 +74,13 @@
// printf("sql was: %s
\n", $sql);
- $rs = mysql_query($sql, $con);
+ $rs = xx_query($sql, $con);
// Initialize counter
$rowcount = 0;
// Cycle through the result set
- while ( $row = mysql_fetch_array ( $rs ) ) {
+ while ( $row = xx_fetch_array ( $rs ) ) {
$subject_id = Trim($row["subject_id"]);
$subject = Trim($row["subject"]);
@@ -99,8 +99,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
@@ -133,13 +133,13 @@
// printf("sql was: %s
\n", $sql);
- $rs = mysql_query($sql, $con);
+ $rs = xx_query($sql, $con);
// Initialize counter
$rowcount = 0;
// Cycle through the result set
- while ( $row = mysql_fetch_array ( $rs ) ) {
+ while ( $row = xx_fetch_array ( $rs ) ) {
$resource_id = Trim($row["resource_id"]);
$title = Trim($row["title"]);
@@ -158,8 +158,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