--- trunk/admin/infotype_drill.phtml 2004/03/04 22:43:17 41
+++ trunk/admin/infotype_drill.phtml 2004/03/04 22:43:50 42
@@ -78,10 +78,10 @@
// Initialize counter
$rowcount = 0;
- $rs = mysql_query($sql, $con);
+ $rs = xx_query($sql, $con);
// Cycle through the result set
- while ( $row = mysql_fetch_array ( $rs ) ) {
+ while ( $row = xx_fetch_array ( $rs ) ) {
$subject = Trim($row["subject"]);
$subject_id = Trim($row["subject_id"]);
$title = Trim($row["title"]);
@@ -106,8 +106,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
@@ -135,10 +135,10 @@
// Initialize counter
$rowcount = 0;
- $rs = mysql_query($sql, $con);
+ $rs = xx_query($sql, $con);
// 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 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