24 |
|
|
25 |
$sql = "SELECT subject, description FROM subject WHERE subject_id = " |
$sql = "SELECT subject, description FROM subject WHERE subject_id = " |
26 |
. $subject_id; |
. $subject_id; |
27 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
28 |
$row = mysql_fetch_array ($rs); |
$row = xx_fetch_array ($rs); |
29 |
$subject = $row["subject"]; |
$subject = $row["subject"]; |
30 |
$description = $row["description"]; |
$description = $row["description"]; |
31 |
|
|
64 |
rsi.resource_id = r.resource_id |
rsi.resource_id = r.resource_id |
65 |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
ORDER BY m.masterinfotype, i.infotype, r.title"; |
66 |
|
|
67 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
68 |
|
|
69 |
// printf("sql was: %s<BR><BR>", $sql); |
// printf("sql was: %s<BR><BR>", $sql); |
70 |
|
|
71 |
while ($row = mysql_fetch_array ($rs)) { |
while ($row = xx_fetch_array ($rs)) { |
72 |
|
|
73 |
// Fetch information types for this subject |
// Fetch information types for this subject |
74 |
$masterinfotype = $row["masterinfotype"]; |
$masterinfotype = $row["masterinfotype"]; |