--- trunk/subject.phtml 2004/03/04 22:43:17 41
+++ trunk/subject.phtml 2004/03/04 22:43:50 42
@@ -24,8 +24,8 @@
$sql = "SELECT subject, description FROM subject WHERE subject_id = "
. $subject_id;
-$rs = mysql_query($sql, $con);
-$row = mysql_fetch_array ($rs);
+$rs = xx_query($sql, $con);
+$row = xx_fetch_array ($rs);
$subject = $row["subject"];
$description = $row["description"];
@@ -64,11 +64,11 @@
rsi.resource_id = r.resource_id
ORDER BY m.masterinfotype, i.infotype, r.title";
-$rs = mysql_query($sql, $con);
+$rs = xx_query($sql, $con);
// printf("sql was: %s
", $sql);
-while ($row = mysql_fetch_array ($rs)) {
+while ($row = xx_fetch_array ($rs)) {
// Fetch information types for this subject
$masterinfotype = $row["masterinfotype"];
@@ -94,7 +94,7 @@
// Link to ALEPH
if (strlen($cat_num) > 0)
- printf("
Check Catalog", $cat_num);
+ printf("
Check Catalog", $cat_num);
printf("
[Detail]
", $subject_id, $resource_id);